bug-bash
[Top][All Lists]
Advanced

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

Re: Here strings appends a newline


From: Chet Ramey
Subject: Re: Here strings appends a newline
Date: Sun, 22 Feb 2015 15:35:51 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 2/22/15 1:30 PM, Håkon Hallingstad wrote:
> I noticed that here strings (<<< word) doesn't quite follow the documented
> behavior: "The result is supplied as a single string to the command on its
> standard input." Instead, or in addition, a newline is appended to the
> string. I therefore propose to clarify this in the man page, see below for
> proposal.

Thanks for the report.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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