1

Why is sort -o useful?

view story
linux-howto

http://unix.stackexchange.com – UNIX philosophy says: do one thing and do it well. Make programs that handle text, because that is a universal interface. The sort command, at least GNU sort, has an -o option to output to a file instead of stdout. Why is, say, sort foobar -o whatever useful when I could just sort foobar > whatever? (HowTos)