Re: Broken: "parser: Add dollar single quote"

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

 



Compare also:
-- >8 --
$ a=$'a\0b'





$ $ $ $ $ $
$ echo ${#a}
1
$ a=$'a\0b'asdasdasdasd
$ echo ${#a}
13
$ printf '%s\n' "$a"
aasdasdasdasd
-- >8 --
(the escaping behaviour is correct, the results are correct)

The minimum that doesn't hang is
  a=$'a\0b'aaaaa
and the five as match up thusly length-wise:
      a\0b'
      aaaaa
so, knowing nothing about the parser,
i'm gonna assume Some cursor isn't being properly advanced
while inside $'?

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux