Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.wizards Subject: Re^2: FTP Message-ID: <2344@solo11.cs.vu.nl> Date: 20 Apr 89 21:37:01 GMT References: <1451@dsacg1.UUCP> <43200074@uicsrd.csrd.uiuc.edu> <1686@fig.bbn.com> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 11 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