menu
Qammunity
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Write a shell script program (evenodd.sh) which adds the odd numbers in odd lines and adds the even numbers in even lines. Write the result on the standard output! In each lines there are at least 2 numbers.
asked
Mar 10, 2022
5.7k
views
3
votes
Write a shell script program (evenodd.sh) which adds the odd numbers in odd lines and adds the even numbers in even lines. Write the result on the standard output! In each lines there are at least 2 numbers. The filename is given by a parameter.
Computers and Technology
college
Lalman
asked
by
Lalman
8.1k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
5
votes
Enjoy. Thanks hope it helps
Aleyna
answered
Mar 14, 2022
by
Aleyna
7.9k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Sep 28, 2021
130k
views
Create a shell script (utilities1.sh) that will print a menu of commands to execute. (a) The script will prompt the user for a number as input. The input will be read, the corresponding command will be
RWIL
asked
Sep 28, 2021
by
RWIL
8.4k
points
Engineering
college
1
answer
5
votes
130k
views
asked
Feb 17, 2021
15.2k
views
Write a single shell script hello.sh which can finish the list of tasks as below: 1. Greet user. E.g. Welcome to computer science society. 2. Contain a comment section with your name and email address.
ThisIsFlorianK
asked
Feb 17, 2021
by
ThisIsFlorianK
7.9k
points
Computers and Technology
college
1
answer
3
votes
15.2k
views
asked
Oct 3, 2021
203k
views
1. Write a shell script, renumber.sh, that will rename all the files in a directory. The first argument is a base name, second argument is a file extension. If the script is run as: $ renumber.sh 25thAnniversary
Jeremie
asked
Oct 3, 2021
by
Jeremie
8.6k
points
Computers and Technology
college
2
answers
1
vote
203k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
What is an example of a dedicated computer system?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity