bug-bash
[Top][All Lists]
Advanced

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

Re: Squiggly heredoc - new feature request


From: Chet Ramey
Subject: Re: Squiggly heredoc - new feature request
Date: Wed, 1 Sep 2021 10:11:46 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 8/31/21 3:25 PM, Lawrence Velázquez wrote:
> On Tue, Aug 31, 2021, at 4:02 AM, Lawrence Velázquez wrote:
>> ksh does not blindly remove all leading whitespace
> 
> For the curious, this is how ksh(1) describes it:
> 
>       If '#' is appended to '<<', then leading spaces and tabs
>       will be stripped off the first line of the document and up
>       to an equivalent indentation will be stripped from the
>       remaining lines and from 'word'.  A tab stop is assumed to
>       occur at every 8 columns for the purposes of determining
>       the indentation.

I will consider this for a future version.


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