in reply to sed deleting file
It looks like you left off the -e switch.
$ cat foo (3.3.3.3,4.4.4.4,) $ sed -e 's/,)/)/' foo (3.3.3.3,4.4.4.4)
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sed deleting file
by ddrew78 (Beadle) on Dec 06, 2010 at 16:48 UTC |