|
| From: | Chet Ramey |
| Subject: | Re: 'read' sometimes truncates trailing field delimiter |
| Date: | Mon, 13 Jan 2025 10:21:31 -0500 |
| User-agent: | Mozilla Thunderbird |
On 1/12/25 8:42 PM, Robert Elz wrote:
chet.ramey@case.edu said: | Which basically means that the last variable gets everything else on the | line, including non-whitespace IFS characters. Whitespace IFS characters are included as well, just not leading, or trailing IFS whitespace, any other IFS whitespace is included in that last var which is accumulating the remaining data.
This is correct. The original example didn't happen to contain any.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
| [Prev in Thread] | Current Thread | [Next in Thread] |