"EOF"

Ian Molton spyro at f2s.com
Fri Oct 18 10:41:09 PDT 2002


Has anyone noticed that using "EOF" in the book doesnt work?

For example:

cat > /usr/bin/lex << "EOF"
#!/bin/sh
# Begin /usr/bin/lex

exec /usr/bin/flex -l "$@"

# End /usr/bin/lex
EOF

Doesnt work at all.

I had to use:

cat > /usr/bin/lex << EOF
#!/bin/sh
# Begin /usr/bin/lex

exec /usr/bin/flex -l "$@"

# End /usr/bin/lex
EOF

IE. without the quotes.
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list