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?


Attachment: signature.asc
Description: Digital signature

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --