From: Paul Mc Auley (pmcauley at domain iol.ie)
Date: Sun 13 Feb 2000 - 22:38:17 GMT
On Fri, 11 Feb 2000 20:02:33 -0000 "Kenn Humborg" <kenn at domain bluetree.ie> wrote:
| > sed 's/ *| */|/g' file | cat > file
| > surely ??
| Is that _guaranteed_ not to truncate 'file' before sed
| reads it?
For extra fun, what happens if you try
sed 's/ *| */|/g' file | cat >> file
Once upon a time, when patches to the kernel weren't quite as stable, I
used to run script, run the patch, close the shell and glance through the
typescript to spot any problems. Except once I forgot Ctrl-D. For extra
stupid points, use cat instead of less.....
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:25 GMT