1 |
awk '{ print $1+$3 }' sample.txt |
1 2 3 4 |
#sample.txt 1 1 1 3 2 1 2 3 3 1 3 3 |
1 2 3 4 |
$result 2 4 6 |
Dec 29, 2018 | bash | 0 comments
1 |
awk '{ print $1+$3 }' sample.txt |
1 2 3 4 |
#sample.txt 1 1 1 3 2 1 2 3 3 1 3 3 |
1 2 3 4 |
$result 2 4 6 |
Subscribe now to keep reading and get access to the full archive.
Recent Comments