help-bash
[Top][All Lists]
Advanced

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

Format of here-documents


From: goncholden
Subject: Format of here-documents
Date: Tue, 14 Mar 2023 11:58:16 +0000

Have been reading the manual about Here-Documents.

The format of here-documents is:

[

n

]<<[-]

word

here-document

delimiter

But in practice I have seen the following

cat << _end_of_text
First Line
Second Line
Third Line
_end_of_text

Meaning that 'delimiter' is actually '

word'.  Is this correct ?

reply via email to

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