On Sat, 2 Mar 2013, Andres Perera wrote: > On Sat, Mar 2, 2013 at 5:13 PM, Philip Guenther <[email protected]> wrote: ... > > Hmm, this is actually changing two things: it's both fixing the problem > > that the code is not subtracting '0' from each character before doing the > > octal place conversion and it's also changing it to support octal > > sequences of fewer than 3 digits. The latter seems unnecessary and isn't > > documented, do we really need/want to add it? > > the behaviour is consistent with bash, which is the shell ksh took it from > > in addition to that, it's consistent with c string literals and printf(1) > > ksh having an doing things differently is a bigger bug than > precedence... ps1 isn't exactly crucial in scripts
Yet it wasn't important enough to mention or document. Huh. I'm not interested without a manpage update to match. Philip
