tech-userlevel archive

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

Re: sh(1) vs. ksh(1)



On Thu, Oct 23, 2008 at 11:52:16PM +0200, Alan Barrett wrote:
> On Thu, 23 Oct 2008, Hauke Fath wrote:
> > Apparently, with ksh(1), the expression
> > 
> > configfsf_sub="`echo \"$0\" | sed 's/config.sub$/configfsf.sub/'`"
> > 
> > ends up with the filename double-quoted in configfsf_sub.
> 
> I am not sure that the meaning of <backslash><doublequote> inside
> backquotes inside double quotes is well defined.  The NetBSD ksh(1) man
> page says that it behaves differently depending on whether or not pOSIX
> mode is in effect.  See these extracts from the ksh(1) man page: 

...

cf bin/26493

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index