Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Takes a CSV file (filename as first argument) with the columns "Class,Subject,ID,Semester,Grade",
- # and outputs per-subject graphs.
- #
- # termgraph, the graphing program is in the AUR and most similar repositories.
- # It's also on github for source builders.
- for FOO in $(awk -F , '{print $2}' $1 | uniq | tail -n +2)
- do
- \grep $FOO $1 | awk -F, '{print $2,$3,$1";"$5}' | termgraph --title $FOO --delim ";" --suffix "/ 4.00"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement