Robert Elz <k...@munnari.oz.au> wrote: > Oh, one more thing about patterns - a question this time, though the > answer might end up suggesting more text that needs to be in > the standard. > > If I have > > var='a*"?"' > > and then I do > > echo $var > > what should the result be? Is this absolutely the same as > > echo a*"?"
No, it isn't. The result of a shell macro expansion is quoted internally before quote removal is applied. For this reason echo $var will print a*"?", while the latter prints a*? Jörg -- EMail:jo...@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'