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: Stephane Chazelas
Subject: Re: Here strings appends a newline
Date: Sun, 22 Feb 2015 23:23:09 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

For the record,

I beleive the <<< feature was introduced by the Unix port of rc
(the plan9 shell) that did *not* add the trailing newline. zsh
is the shell that brought that construct to the Bourne world and
it did add the extra newline character.

All of zsh, ksh, bash, yash add that newline.

-- 
Stephane



reply via email to

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