Date: Fri, 24 Aug 2018 10:26:06 +0100
From: Geoff Clare <[email protected]>
Message-ID: <[email protected]>
First, wrt your previous message (earlier in the week) ... the comments of
mine to which you referred were based upon an even earlier message of
yours, and what I thought from that you intended - the actual change to
the note that was made (though I still do not believe his belongs in 1193)
was not what I had anticipated, and was much better.
| I decided that this was worth an explicit mention in Field Splitting,
| particularly because it applies even for the IFS="" case. I have
| updated bugnote 4082 as follows:
|
| On page 2359 line 75266 section 2.6.5, append a new sentence to the
| 2nd paragraph:
|
| If no fields are delimited, for example if the input is empty or
| consists entirely of IFS white space, the result shall be zero
| fields (rather than an empty field).
That looks fine.
| On page 2359 line 75273 section 2.6.5, change:
|
| If the value of IFS is null, no field splitting shall be performed.
|
| to:
|
| If the value of IFS is null, field splitting shall have no effect,
| except that if the input is empty the result shall be zero fields.
I am not sure that "except that" is really the correct wording, perhaps
just replace those two words with "though" ?
Sometime I need to see the effect of all of these proposed changes (ignoring
the brace expansion part, that's irrelevant to current concerns, which is why
I don't think 1193 is the correct place to fix this) in their final form, to
make sure that it all connects up properly, with no odd special cases
forgotten.
kre