|
Suppose there is a file, which contains:
a 12
b 14
g 9
p 58
d 25
t 18
w 32
The two fields are seperated by space.
If we have to add all the numbers of second field using script
file, it can be done using cut -d" " -f2 /file
Can any one help to write a script file which adds the number
from third line to sixth line only.
Any help will be highly appreciated!!
Shre
|
- RE: [SLUG] addition using script file Shrestha
- RE: [SLUG] addition using script file Craig Southeren
- Re: [SLUG] Re: addition using script file Raoul Golan
- RE: [SLUG] Re: addition using script file Craig Southeren
- RE: [SLUG] Re: addition using script fileRE:... Craig Southeren
- Re: [SLUG] Re: addition using script fileRe: [SL... Raoul Golan
