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.










share|improve this question







New contributor




Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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

















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.










share|improve this question







New contributor




Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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















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.










share|improve this question







New contributor




Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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






share|improve this question







New contributor




Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Mimi3234

11




11




New contributor




Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Mimi3234 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




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
















  • 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

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy