[comp.unix.wizards] Re^2: FTP

maart@cs.vu.nl (Maarten Litmaath) (04/21/89)

rsalz@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@bilpin). |maart@cs.vu.nl, mcvax!botter!maart