Vincent Lefevre <[email protected]> wrote:
> I cannot see in Issue 7 how they are supposed to be special here.
> And
>
> http://austingroupbugs.net/view.php?id=221
>
> doesn't seem to change anything. At least, they are *not* special
> in dash 0.5.8-2.3 and in BusyBox v1.22.1 sh (ash):
This is a patched version from a distro and not the original.
> $ foo=abcdef; echo "${foo#'ab'}"
> abcdef
> 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?
Good question....
/usr/xpg4/bin/sh
$ foo=abcdef; echo "${foo#'ab'}"
abcdef
ksh93
joerg@unknown:~/cmd$ foo=abcdef; echo "${foo#'ab'}"
cdef
Jörg
--
EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
[email protected] (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.org/private/
http://sourceforge.net/projects/schilytools/files/'