On Mon, 16 Dec 2002 14:30:51 +0800
Brian Baquiran <[EMAIL PROTECTED]> wrote:

> 
> 
> Brian Baquiran wrote:
> > 
> > for i in * ; do j=`echo $i|sed -e "s/%20/ /g"`; mv $i $j; done
> > 
> 
> As Benj pointed out, you have to quote $i and $j.
> 
> for i in * ; do j=`echo $i|sed -e "s/%20/ /g"`; mv "$i" "$j"; done
> 

Any good reference for how sed works? So far I have not read any good tutorial on its 
usage.  A pointer would help.

Thanks.

Holden
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to