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: Lawrence Velázquez
Subject: Re: Squiggly heredoc - new feature request
Date: Tue, 31 Aug 2021 15:25:41 -0400
User-agent: Cyrus-JMAP/3.5.0-alpha0-1124-g8f1c7cb9de-fm-20210824.001-g8f1c7cb9

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.

-- 
vq



reply via email to

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