|
From: | Chet Ramey |
Subject: | Re: RFE: new syntax for command substitution to keep trailing newlines? |
Date: | Wed, 27 Jan 2021 15:27:54 -0500 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
On 1/27/21 3:21 PM, Alex fxmbsw7 Ratchev wrote:
as well as one newline instead of x, it cuts afik _one_ ending nrwline, not all
No, command substitution removes all trailing newlines. -- ``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/
[Prev in Thread] | Current Thread | [Next in Thread] |