[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:59:24 +0100 |
User-agent: |
s-nail v14.9.25-641-gce53683382-dirty |
Steffen Nurpmeso wrote in
<20250315225314.0SShmWUW@steffen%sdaoden.eu>:
|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.
And even further, if that is not what is happening in any of the
shells starting with ksh, then the standard wording is deficient
and cannot be used by shell implementors to create identical
behaviour to already (long) existing shells.
What am i missing?
--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)
- $*, and $IFS, again, Steffen Nurpmeso, 2025/03/13
- Re: $*, and $IFS, again, Steffen Nurpmeso, 2025/03/13
- Re: $*, and $IFS, again, Robert Elz, 2025/03/13
- Re: $*, and $IFS, again, Steffen Nurpmeso, 2025/03/14
- Re: $*, and $IFS, again, Robert Elz, 2025/03/15
- Re: $*, and $IFS, again, Robert Elz, 2025/03/15
- Re: $*, and $IFS, again, Greg Wooledge, 2025/03/15
- Re: $*, and $IFS, again, Steffen Nurpmeso, 2025/03/15
- Re: $*, and $IFS, again, Steffen Nurpmeso, 2025/03/15
- Re: $*, and $IFS, again,
Steffen Nurpmeso <=
- Re: $*, and $IFS, again, Robert Elz, 2025/03/15
- Re: $*, and $IFS, again, Robert Elz, 2025/03/15
- Re: $*, and $IFS, again, Steffen Nurpmeso, 2025/03/15
- Re: $*, and $IFS, again, Robert Elz, 2025/03/15
- Re: $*, and $IFS, again, Steffen Nurpmeso, 2025/03/15
Re: $*, and $IFS, again, Greg Wooledge, 2025/03/13