On 8/23/24 5:47 PM, Steffen Nurpmeso wrote:
If IFS has a value other than the default, then sequences of the whitespace characters space, tab, and newline are ignored at the beginning and end of the word, as long as the whitespace character is in the value of IFS (an IFS whitespace characā ter).So IFS whitespace only if part of $IFS. Any character in IFS that is not IFS whitespace, along with any adjacent IFS whitespace characters, delimits a field. So this "adjacent" even if *not* part of $IFS.
I am genuinely curious how you concluded this, given the definition you previously quoted.
A sequence of IFS whitespace characters is also treated as a delimiter. So this means that *regardless* of whatever $IFS is, the three IFS whitespace characters are $IFS anyway *if* that is set toa nin-empty non-default value.
Nonsense. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature