6 ms·Or: ruby -e 'puts ARGF.sort' file.txt Also, this reads stdin if the argument is omitted.by vjoel 13y agoOr: ruby -e 'puts ARGF.sort' file.txt Also, this reads stdin if the argument is omitted.