Bonno Bloksma <b.blok...@tio.nl> wrote:
> [...] some was new like the use of the letters EOF in stead of the
> "real" EOF character.

That's only because the OP used the << construct. Let me demonstrate.


In this example, where I've written ^D you would need to press Ctrl/D:

cat >/tmp/file1
type your stuff here
^D
wc /tmp/file1


In this example, where I've written STOP you would enter a line actually
containing that four letter word:

cat >/tmp/file2 <<STOP
type your stuff here
STOP
wc /tmp/file2


You'll see that the second example can be trivially copied from here
and pasted to a terminal, whereas the first cannot.

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/32g5n8x31f....@news.roaima.co.uk

Reply via email to