Re:A list of computer languages with release year and category
by codelani on Wednesday September 25, 2019 @04:50PM
(#21075293)
Just added column sorting by clicking the headers. But your solution is great too! Thanks!
Re:A list of computer languages with release year and category
by idoubtit on Wednesday September 25, 2019 @05:01PM
(#21075421)
`awk` is not needed since `sort` can apply to the fourth column.
curl ... \
| sort -t, -k4 -n
| less
Re:A list of computer languages with release year and category
by ColinWright on Wednesday September 25, 2019 @05:03PM
(#21075443)
That's true, but the solution I suggested works to sort on the last column, whether or not there are exactly 4 columns. I avoided having to count how many columns there are, assuming only that the date comes last.
But yes, if you know the date is in the 4th column then your solution also works.
Re:A list of computer languages with release year and category
by arcticfox on Wednesday September 25, 2019 @06:12PM
(#21076156)
Anyone around to convert this to that nushell that was featured on HN a few weeks ago? I'm curious to see what the comparison would look like in a super practical real-life scenario
There are a lot of entries that don't have dates. If you want to remove them, pipe the result through: