On Oct 5, 2012, at 4:09 AM, Richard Melville wrote: > > A little off-topic but I've pondered this for a long time: in the > LFS book why is "EOF" always in quotes; I've found EOF without > quotes to work just fine. > > Richard >
If you do cat << EOF Then any variables or commands in backticks are evaluated If you do cat << "EOF" Then variables or commands in backticks are not evaluated. Example: cat > test << EOF TEST=$PWD EOF cat > test "EOF" TEST=$PWD EOF Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page