On Tue, Mar 14, 2023, 12:58 PM goncholden via <help-bash@gnu.org> wrote:
> 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 ?
yes , word there is the delimiter , word class of handling
{ var=$( </proc/$$/fd/0 ) ; } <<'eo'
1
2
3
eo
space safe in ' quotes
im not so pro there