Il giorno ven 20 ago 2021 alle ore 17:49 Harald van Dijk <[email protected]>
ha scritto:

> On 20/08/2021 16:31, Roberto A. Foglietta wrote:
> > Il giorno ven 20 ago 2021 alle ore 16:36 Harald van Dijk
> > <[email protected] <mailto:[email protected]>> ha scritto:
> >
> >
> >         cat >shrc <<EOF
> >         :
> >         :
> >         :
> >         EOF
> >         ENV=shrc ./busybox ash -ic 'echo LINENO=$LINENO'
> >         3
> >
> >     I can understand (and would
> >     personally prefer) outputting 1 / 2 for the first case and 1 for the
> >     second case. Outputting 3 for the second case seems wrong.
>

Thank you for the explanation. The 9th patch fixes the problem for every
command in line.

Cheers,
-R

Attachment: busybox-1.33.1-9of9-LINENO-set-to-1-for-commands.patch
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to