help-bash
[Top][All Lists]
Advanced

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

Re: \n displayed instead of newline


From: Greg Wooledge
Subject: Re: \n displayed instead of newline
Date: Wed, 30 Jun 2021 10:03:54 -0400

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.

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]