Christine Tran wrote:
This should work, but I get a syntax error at line 78: `end of file'
unexpected, (script is only 77 lines long, btw.) I also tried
cat > /tmp/foo << EOF
zonecfg -z $myzone -f /tmp/foo
but same problem. How can I solve this? I prefer not to keep a batch
file around to slice & dice with sed.
If you indent using tabs, you can use <<-EOF to tell the shell to
ignore tabs when testing for "EOF". If you're using ksh93, I think
<<#EOF will do exactly what you want without any format changes.
zones-discuss mailing list