Popular `awk` terminal commands
Sort a file by line length
Sorts a text file by line length (including spaces). The `-s` flag indicates that any lines that are the same length are kept in the relative order that they ocurred in the input.
Sum all numbers in a file
Uses awk to sum all the numbers in a file. This command is also resilient to big numbers since it internally converts each number to a string.
Authored by: devnull