Re: how to match parenthesis in sed
On Wed, Oct 17, 2007 at 01:17:40AM -0400, H.S. wrote:
> H.S. wrote:
> > H.S. wrote:
> >> H.S. wrote:
> >>> H.S. wrote:
> >>>> Hello,
> >>>>
> >>>> I am renaming files by removing parentheses from them. These are image
<snip>
> Suggestion on how to do that?
$ echo "20030113_Lohri_ (107).jpg" |sed "s/ (//"|sed "s/(//"|sed "s/)//"
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|
Reply to: