Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


sort_command_tricks

Linux 'sort' command tricks

Sorting by string length

$ awk '{ print length(), $0 | "sort -n" }'  /usr/share/dict/words
sort_command_tricks.txt · Last modified: 2020/01/02 14:02 by juckins