Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.shell Subject: Re: standard input to commands in a shell script Message-ID: <1990Oct14.152950.29384@athena.mit.edu> Date: 14 Oct 90 15:29:50 GMT References: <1990Oct12.025833.13376@cubmol.bio.columbia.edu> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Organization: Massachusetts Institute of Technology Lines: 16 In article , barnett@grymoire.crd.ge.com (Bruce Barnett) writes: |> In article meissner@osf.org (Michael Meissner) writes: |> > (echo "user anonymous"; echo "${USER-${LOGNAME}}@`hostname`"; echo dir; echo quit) | \ |> > ftp uunet.uu.net |> (echo "user anonymous ${USER-${LOGNAME}}@`hostname`"; echo dir; echo quit) | \ |> ftp uunet.uu.net Neither of these examples will work, unless you supply "-n" option to ftp. Bruce, you got that right in your original posting on this subject, but forgot it here :-). -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8495 Home: 617-782-0710