Last active
June 1, 2022 09:05
-
-
Save adrianbiro/eaea802dc06cde4deb96740e1bd32f37 to your computer and use it in GitHub Desktop.
Spocita ti to clenske a ignoruje prazdne riadky.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk -F',' 'NF>1{printf("%s\t%d\n", $1, ($2 + $3))}' clenske_prispevky.csv \ | |
| pr --columns=3 --double-space --number-lines --first-line-number=1 \ | |
--date-format=%Y-%m-%d --header='Zostatok clenske prispevky' > Zostatok_clenske.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tukni na Raw, text daj to suboru co nazves: sum_clenske.sh Spustis to cez terminal v priecinku kde mas csvcko prikazom
bash sum_clenske.sh
Ak chces hustejsie stlpce zmen cislo na konci v--columns=3