Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: FF cards alter PTS'?
Holger Waechtler wrote:
...
$ cat ~/mbox | sed -e "s/\<lies\>/misinformation/g > /tmp/x && \
mv /tmp/x ~/mbox
ok?
No.
Except for the missing double quote that Klaus already pointed
out, this starts up one process too many.
Also, /tmp and ~ may lie on different file systems, which would
make the mv *very* expensive.
How about
sed -e 's/\<lies\>/misinformation/g' < ~/mbox > ~/mbox.new
mv ~/mbox.new ~/mbox
?
Just kidding,
Carsten.
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index