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.
In reply to Re: sed deleting file
by roboticus
in thread sed deleting file
by ddrew78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |