>
> 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
>
>
Thanks for the explanation William; I had no idea that was the case.

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to