Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!crdgw1!barnett From: barnett@grymoire.crd.ge.com (Bruce Barnett) Newsgroups: comp.unix.shell Subject: Re: standard input to commands in a shell script Message-ID: Date: 12 Oct 90 19:43:48 GMT References: <1990Oct12.025833.13376@cubmol.bio.columbia.edu> <7219@muffin.cme.nist.gov> Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.ge.com Organization: GE Corp. R & D, Schenectady, NY Lines: 11 In-reply-to: meissner@osf.org's message of 12 Oct 90 19:28:54 GMT In article meissner@osf.org (Michael Meissner) writes: > (echo "user anonymous"; echo "${USER-${LOGNAME}}@`hostname`"; echo dir; echo quit) | \ > ftp uunet.uu.net Try: (echo "user anonymous ${USER-${LOGNAME}}@`hostname`"; echo dir; echo quit) | \ ftp uunet.uu.net -- Bruce G. Barnett barnett@crd.ge.com uunet!crdgw1!barnett