sean finney on 22 Aug 2009 03:29:33 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] the character least likely to find in a Unix file name


On Fri, Aug 21, 2009 at 03:09:08PM -0400, TuskenTower wrote:
> We have an interesting point of discussion about the following two sed lines:
>    PATH=`echo $PATH | sed "s"'$'"$old_paht"'$'"$new_path"'$'`
> VS
>    PATH=`echo $PATH | sed "s,$old_path,$new_path,"`

i don't know what you're doing, but why not just properly single-quote
them and then store them as a space seperated list?


	sean

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug