skaembutils
Software
www.skarnet.org

The sort program

sort sorts files line by line.

Interface

     sort [ -bfrcuz ] [ file... ]

Options

Notes

sort slurps all files into memory before sorting the lines. Therefore it's unsuitable for very large files, especially on embedded systems where memory requirements are tight. It's very efficient and cheap for small and average-sized files though.

When you run GNU sort (even without options), it begins by allocating 24 megabytes of memory before anything else. This behaviour is completely unacceptable. If 10 shell scripts run sort simultaneously, will the machine keep up ? skaembutils sort is of course immune to this.