Re^2: FTP
Maarten Litmaath
maart at cs.vu.nl
Fri Apr 21 07:37:01 AEST 1989
rsalz at bbn.com (Rich Salz) writes:
\> #!/bin/sh
\> ftp -n << EOM
\ ^^^ Better quote the EOM otherwise you'll have
\ problems with the *, below. Use "ftp -n <<'EOM'"
False. Check it in TFM: there's no wildcard expansion in a here document.
It's variable expansion and command substitution you might want to avoid.
--
"If it isn't aesthetically pleasing, |Maarten Litmaath @ VU Amsterdam:
it's probably wrong." (jim at bilpin). |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.unix.wizards
mailing list