Bash script make [on hold]
up vote
-2
down vote
favorite
i have to make a script.sh which decide if numbers in command line are integers in base 10 and print :
their sum;
input command line: ./powsnsums.sh anyword A -4 uso 2048 63 anyWORD
expected output:
Sum of numbers is 2115.
ubuntu bash script
New contributor
put on hold as too broad by Kamil Maciorowski, DavidPostill♦ 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
-2
down vote
favorite
i have to make a script.sh which decide if numbers in command line are integers in base 10 and print :
their sum;
input command line: ./powsnsums.sh anyword A -4 uso 2048 63 anyWORD
expected output:
Sum of numbers is 2115.
ubuntu bash script
New contributor
put on hold as too broad by Kamil Maciorowski, DavidPostill♦ 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill♦
2 days ago
This looks like an assignment. There are some good reasons why you are supposed to do your own assignments, including 1/ you need to learn how to learn (find tutorials etc), 2/ doing the work yourself makes it easier to remember the what and the why of the solution, 3/ it's cheating if you don't 4/ good luck with your exams when you don't have the internet to write your answers for you 5/ your professor just saw this post and is going to kick you out for cheating.
– DavidPostill♦
2 days ago
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
i have to make a script.sh which decide if numbers in command line are integers in base 10 and print :
their sum;
input command line: ./powsnsums.sh anyword A -4 uso 2048 63 anyWORD
expected output:
Sum of numbers is 2115.
ubuntu bash script
New contributor
i have to make a script.sh which decide if numbers in command line are integers in base 10 and print :
their sum;
input command line: ./powsnsums.sh anyword A -4 uso 2048 63 anyWORD
expected output:
Sum of numbers is 2115.
ubuntu bash script
ubuntu bash script
New contributor
New contributor
New contributor
asked 2 days ago
Mimi3234
11
11
New contributor
New contributor
put on hold as too broad by Kamil Maciorowski, DavidPostill♦ 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as too broad by Kamil Maciorowski, DavidPostill♦ 2 days ago
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill♦
2 days ago
This looks like an assignment. There are some good reasons why you are supposed to do your own assignments, including 1/ you need to learn how to learn (find tutorials etc), 2/ doing the work yourself makes it easier to remember the what and the why of the solution, 3/ it's cheating if you don't 4/ good luck with your exams when you don't have the internet to write your answers for you 5/ your professor just saw this post and is going to kick you out for cheating.
– DavidPostill♦
2 days ago
add a comment |
1
Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill♦
2 days ago
This looks like an assignment. There are some good reasons why you are supposed to do your own assignments, including 1/ you need to learn how to learn (find tutorials etc), 2/ doing the work yourself makes it easier to remember the what and the why of the solution, 3/ it's cheating if you don't 4/ good luck with your exams when you don't have the internet to write your answers for you 5/ your professor just saw this post and is going to kick you out for cheating.
– DavidPostill♦
2 days ago
1
1
Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill♦
2 days ago
Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill♦
2 days ago
This looks like an assignment. There are some good reasons why you are supposed to do your own assignments, including 1/ you need to learn how to learn (find tutorials etc), 2/ doing the work yourself makes it easier to remember the what and the why of the solution, 3/ it's cheating if you don't 4/ good luck with your exams when you don't have the internet to write your answers for you 5/ your professor just saw this post and is going to kick you out for cheating.
– DavidPostill♦
2 days ago
This looks like an assignment. There are some good reasons why you are supposed to do your own assignments, including 1/ you need to learn how to learn (find tutorials etc), 2/ doing the work yourself makes it easier to remember the what and the why of the solution, 3/ it's cheating if you don't 4/ good luck with your exams when you don't have the internet to write your answers for you 5/ your professor just saw this post and is going to kick you out for cheating.
– DavidPostill♦
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
1
Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.
– DavidPostill♦
2 days ago
This looks like an assignment. There are some good reasons why you are supposed to do your own assignments, including 1/ you need to learn how to learn (find tutorials etc), 2/ doing the work yourself makes it easier to remember the what and the why of the solution, 3/ it's cheating if you don't 4/ good luck with your exams when you don't have the internet to write your answers for you 5/ your professor just saw this post and is going to kick you out for cheating.
– DavidPostill♦
2 days ago