2 ms·
sponge (in package moreutils) for programs that don't have a "-o" feature: cat foo.txt | sponge foo.txt will not clobber foo.txt
by fragmede 17y ago
sponge (in package moreutils) for programs that don't have a "-o" feature:
cat foo.txt | sponge foo.txt
will not clobber foo.txt