Wednesday, November 16, 2011

sort the contents of a text file in place

This will sort the contents of a file without the need to pipe it into a second file.

great for cron jobs



sort -g name_of_file_to_sort.txt -o $_

No comments: