Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15544

Re: '#' in here-doc

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: '#' in here-doc
Date 2019-10-30 15:51 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.1.1572465127.13325.bug-bash@gnu.org> (permalink)
References <CAH7i3Lp_T1x2L9CdhJaG=Be8sA-jtiZen5dYNNK67vqnf9E8qQ@mail.gmail.com> <c29acf15-739a-aa41-1f6e-0263c564f885@case.edu>

Show all headers | View raw


On 10/23/19 5:35 PM, Oğuz wrote:
> After running this on bash 5.0.9:
> 
> wc -c <<EOF
> #
> EOF
> 
> if I hit up arrow key, I get this:
> 
> wc -c <<EOF
> #
> 
> EOF
> 
> (there is an extra blank line). Can't reproduce on bash 4.4.20 though

Thanks for the report. I'll take a look.

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

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: '#' in here-doc Chet Ramey <chet.ramey@case.edu> - 2019-10-30 15:51 -0400

csiph-web