Re: [Toybox] Would someone please explain what bash is doing here?

2020-05-05 Thread Chet Ramey
On 5/5/20 1:47 PM, Rob Landley wrote: > On 5/4/20 1:16 PM, Chet Ramey wrote: >>> Still trying to work out what the "bash spec" would be, vs implementation >>> details... >> >> I'll be interested when you get that spec done. > > I'd love to read it myself. Alas, it's corner cases all the way

Re: [Toybox] Would someone please explain what bash is doing here?

2020-05-05 Thread Rob Landley
On 5/4/20 1:16 PM, Chet Ramey wrote: >> Still trying to work out what the "bash spec" would be, vs implementation >> details... > > I'll be interested when you get that spec done. I'd love to read it myself. Alas, it's corner cases all the way down: $ bash -c $'echo $LINENO\necho $LINENO'