Vincent Lefevre <vincent-o...@vinc17.net> wrote: > > > but the other shells regard them as special: > > > > > > $ foo=abcdef; echo "${foo#'ab'}" > > > cdef > > > > > > So, is this also unspecified like double quotes? Or should it > > > be specified that they are special, in which case, dash / ash > > > are buggy? > > > > Dash conforms to the standard if you execute it as "sh". > > No, it doesn't. Try it. :)
Well it behaves the same as the reference implementation /usr/xpg4/bin/sh which is a "pimped" ksh88. 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://sourceforge.net/projects/schilytools/files/'