bug-bash
[Top][All Lists]
Advanced

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

Re: forwarded weirdness report


From: Alex fxmbsw7 Ratchev
Subject: Re: forwarded weirdness report
Date: Mon, 28 Mar 2022 22:57:43 +0200

ok thanks for cool explaintion

i may beg for more intelligent, more 'human readable format' supporting

such as, code is there, that it doesnt run is implentation fault

however u aint alone
gawk parser in combination with djb tcpserver results ( ill try again soon
) in big fails in proceeding after found RS, cause, the parser implentation
misses it, cause its bad coded not-per-char match ( just some invalid )

a main gawk coder said, everything should get rewritten, and it wont, so
just l

greets, bless

On Mon, Mar 28, 2022, 22:18 Chet Ramey <chet.ramey@case.edu> wrote:

> On 3/28/22 3:06 PM, Martin Schulte wrote:
> > Hello,
> >
> > on Mon, 28 Mar 2022 20:34:40 +0200 Alex fxmbsw7 Ratchev <
> fxmbsw7@gmail.com> wrote:
> >> https://pastebin.com/raw/T7ZnFapt
> >>
> >> about inconsitency, about chets 'uh no bugs'
> >>
> >> ive experienced this and such x times already ( got better, this is not
> my
> >> code )
> >
> > Here's a somewhat stripped down version:
> >
> > $ bash --noprofile --norc -i -c "echo \$BASH_VERSION; shopt -s
> expand_aliases ; source <(echo \"alias x='echo hallo'\"); alias; x"
> > 5.1.4(1)-release
> > alias x='echo hallo'
> > bash: x: command not found
>
> OK, once more from the top.
>
> The argument to -c is a single command. Bash always reads a complete
> command before executing any of it. The argument string is parsed into a
> compound command: a compound list. Since the entire compound list is parsed
> before executing any of the commands it contains, the `x' is parsed as a
> simple command with no defined alias -- the parsing takes place before
> executing the `alias x=...' command.
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]