Re: Command substitution in here-documents

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

 



Op 11-08-18 om 12:08 schreef Ron Yorston:
> - Fixing this (other than using the blunt instrument of reverting the
>   faulty commit) is beyond my pay grade.  Someone with a better
>   understanding of the code will need to take a look.

My observations:

- The latest release is 0.5.10.2. I can't reproduce the bug at all in
0.5.10, 0.5.10.1 or 0.5.10.2.

- I can only reproduce the bug on dash 0.5.9 and 0.5.9.1 in interactive
mode, inputting the commands manually. I cannot reproduce it when
running a script (including a dot script sourced using a '.' command in
interactive mode).

- The error message produced can be ... interesting, e.g.:
$ dash-0.5.9.1
$ while read -r f; do echo "$f"; done <<EOF
> `echo hi`
> EOF
dash-0.5.9.1: 1: ad -r f; do echo "$f"; done <<EOF
`echo hi`
: not found

Thanks,

- M.



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

  Powered by Linux