Hacker News new | past | comments | ask | show | jobs | submit login

Or:

   ruby -e 'puts ARGF.sort' file.txt
Also, this reads stdin if the argument is omitted.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: