bug-bash
[Top][All Lists]
Advanced

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

<<! ^D how about an extra newline, dudes?


From: Dan Jacobson
Subject: <<! ^D how about an extra newline, dudes?
Date: 22 Nov 2001 09:24:05 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

In the first example I end input with c RET
In the second example I end input with ^D

$ cat<<c
> 1
> 2
> c
1
2
$ cat<<c
> 1
> 2
> 1
2

In the second example it would seem prudent for bash 2.05.0(1) to give
an newline before making output, for clarity's sake.  Well, I'm not
sure what's going on but it looks ugly, and I remember EOF is also a
valid terminator of "here documents", I think.
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780



reply via email to

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