Article View: comp.unix.shell
Article #1495Re: standard input to commands in a shell script
From: Jonathan I. Kamens
Date: Sun, 14 Oct 1990 15:29
Date: Sun, 14 Oct 1990 15:29
16 lines
1393 bytes
1393 bytes
In article <BARNETT.90Oct12154348@grymoire.crd.ge.com>, barnett@grymoire.crd.ge.com (Bruce Barnett) writes:
|> In article <MEISSNER.90Oct12152854@osf.osf.org> 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
Technical Details
Message-ID:
<1990Oct14.152950.29384@athena.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!athena.mit.edu!jikReferences:
<1990Oct12.025833.13376@cubmol.bio.columbia.edu> <BARNETT.90Oct12154348@grymoire.crd.ge.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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> <BARNETT.90Oct12154348@grymoire.crd.ge.com> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: jik@athena.mit.edu (Jonathan I. Kamens) Organization: Massachusetts Institute of Technology Lines: 16