tech-userlevel archive

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

Re: interactive shell detection in shrc



Hello.

Coming back to an old thread from September 2024, about shell word
aka field splitting ...

RVP wrote in
 <66f9553f-7e86-97e5-2669-f3b7d7177753%SDF.ORG@localhost>:
 |On Fri, 27 Sep 2024, Steffen Nurpmeso wrote:
 |
 |> Yes i am afraid of shell field splitting and expansion, and i do
 |> not understand why eg
 ...stuff...

thanks again for your emails by then.
But i had to run away and came back after so many months with
a fresh view, and then i saw the problem within five minutes; in
the end it was mostly a three line fix about passing "having seen
whitespace" from the first to the second parsing step, as well as
about the "is joining allowed" state in general, in the second.

Thanks again!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
|
|In Fall and Winter, feel "The Dropbear Bard"s pint(er).
|
|The banded bear
|without a care,
|Banged on himself for e'er and e'er
|
|Farewell, dear collar bear


Home | Main Index | Thread Index | Old Index