[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash-5.2-alpha available

From: Chet Ramey
Subject: Re: Bash-5.2-alpha available
Date: Sat, 22 Jan 2022 13:34:11 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1

On 1/22/22 1:31 PM, Oğuz wrote:
22 Ocak 2022 Cumartesi tarihinde Chet Ramey <chet.ramey@case.edu <mailto:chet.ramey@case.edu>> yazdı:

    $'\n' is identical to

    Here-document bodies are parsed as if they are within double quotes, and
    single quotes are not special within double quotes.

Okay, it kinda makes sense. But what is the point of allowing dollar-quotes inside here documents then?

Because they should behave identically to other forms of quoting that bash
handles in here-documents. Why should $'' be different from '' only within
here-document bodies?

``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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]