by ColinWright · 7y ago · 0 comments
curl https://raw.githubusercontent.com/codelani/codelani/master/langs.csv \
| awk -F "," '{print $NF, $0}' \
| sort -n \
| sed "s/^[^ ]* //" \
| less
This will fetch the CSV, copy the date to the front, sort it, then remove the date.There are a lot of entries that don't have dates. If you want to remove them, pipe the result through:
grep -v ",$" curl ... \
| sort -t, -k4 -n
| lessBut yes, if you know the date is in the 4th column then your solution also works.