help-bash
[Top][All Lists]
Advanced

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

\n displayed instead of newline


From: lisa-asket
Subject: \n displayed instead of newline
Date: Wed, 30 Jun 2021 20:55:05 +0200 (CEST)

From: Greg Wooledge <greg@wooledge.org>
To: help-bash@gnu.org
Subject: Re: \n displayed instead of newline
Date: 30/06/2021 16:03:54 Europe/Paris

On Wed, Jun 30, 2021 at 03:59:18PM +0200, lisa-asket@perso.be wrote:
>  When I use the following I get
> 
> 
> 
> bash: warning: here-document at line 321 delimited by end-of-file (wanted 
> `BRIEF')
> 
>         cat <<- "BRIEF"
>           Searches input files for lines containing matches.
>           $@ ARGS  Array of all arguments.
>         BRIEF
>   

You're trying to use the tab-indented variant. Make sure each line is
indented strictly by tabs, NOT by spaces, NOT by a combination of tabs
and spaces.



"Thank you"



I don't normally recommend this one to most people, because a lot of text
editors apparently don't handle tab indentation correctly.





reply via email to

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