|
From: | Chet Ramey |
Subject: | Re: Unexpected Quick Substitution in string literals |
Date: | Thu, 14 Dec 2023 15:23:11 -0500 |
User-agent: | Mozilla Thunderbird |
On 12/14/23 2:59 PM, Dale R. Worley wrote:
Chet Ramey <chet.ramey@case.edu> writes:While declaring a string literal across multiple lines, a line starting with the ^ character is resulting in some sort of quick substitution processing.This is a standard form of history expansion, described in the man page.I just checked. Certainly, the use of ^ is mentioned in the man page, but it isn't very clearly described, unfortunately. In particular, ^ is only active at the beginning of a line, which doesn't seem to be described at all.
Good catch, that needs to be in there. -- ``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] |