==== Linux 'sort' command tricks ==== [[https://www.unix.com/shell-programming-and-scripting/101372-how-sort-strings-length.html|Sorting by string length]] $ awk '{ print length(), $0 | "sort -n" }' /usr/share/dict/words