The format of here-documents is:

```
<<[−]word
here-document
delimiter

```

Is the delimiter seen and used by the program which takes the here document as stdin input?

Or is the delimiter used by the bash only, and not seen and used by the program which takes the here document as stdin input?