|
| From: | Chris Elvidge |
| Subject: | Re: Squiggly heredoc - new feature request |
| Date: | Mon, 30 Aug 2021 22:47:39 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4 |
On 30/08/2021 09:28 pm, Greg Wooledge wrote:
On Mon, Aug 30, 2021 at 10:06:37PM +0200, Přemysl Šťastný wrote:I think, it would be nice, if you implemented Squiggly heredoc, which solves this problem by ignoring both leading spaces and leading tabs. eg. func()( cat <<~ EOF blabla EOF )This would break backward compatibility and POSIX compliance. I'm sure there are real life scripts that have leading spaces in their here-doc payloads which should be preserved.
Yes there are. -- Chris Elvidge England
| [Prev in Thread] | Current Thread | [Next in Thread] |