Re:Sort Files Like A Master With The Linux Sort Command (Bash)
by fragmede on Monday May 10, 2010 @10:19AM
(#1334461)
sponge (in package moreutils) for programs that don't have a "-o" feature:
cat foo.txt | sponge foo.txt
will not clobber foo.txt
[ Parent
| on HN ]