Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- col1 col2 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
- abc dec 10 20 30 40 50 60 70 80 90 11 12 13
- col1 col2 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec FullYear
- abc dec 10 20 30 40 50 60 70 80 90 11 12 13 486
- awk -F ' ' {print $1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" "$10" "$11" "$12" "$13" "$14" "$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14}' inputfile.txt > outputfile.txt
Add Comment
Please, Sign In to add comment