bug-bash
[Top][All Lists]
Advanced

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

Re: $*, and $IFS, again


From: Steffen Nurpmeso
Subject: Re: $*, and $IFS, again
Date: Sat, 15 Mar 2025 23:53:14 +0100
User-agent: s-nail v14.9.25-641-gce53683382-dirty

Steffen Nurpmeso wrote in
 <20250315224145.YPWRnxq7@steffen%sdaoden.eu>:
 |Robert Elz wrote in
 | <8711.1742074773@jacaranda.noi.kre.to>:
 ...
 |  * Expands to the positional parameters, starting from one,
 |    initially producing one field for each positional parameter that
 |    is set. When the expansion occurs in a context where field
 |    splitting will be performed, any empty fields may be discarded
 |    and each of the non-empty fields shall be further split as
 |    described in Section 2.6.5.
 |
 |By the very meaning of this the fields are split individually,
 |*first*.  This is exactly what i do.

And further, i have zero idea how shells come to the result that
they do if they do *not* split the fields individually.  But if
they do, how comes that additional field.

--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)



reply via email to

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