🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1481

Re: standard input to commands in a shell script

#1481
From: Bruce Barnett
Date: Fri, 12 Oct 1990 19:43
11 lines
1092 bytes
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

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
Technical Details
Message-ID: <BARNETT.90Oct12154348@grymoire.crd.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!crdgw1!barnett
References: <1990Oct12.025833.13376@cubmol.bio.columbia.edu> <7219@muffin.cme.nist.gov> <BARNETT.90Oct12133123@grymoire.crd.ge.com> <MEISSNER.90Oct12152854@osf.osf.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <BARNETT.90Oct12154348@grymoire.crd.ge.com>
Date: 12 Oct 90 19:43:48 GMT
References: <1990Oct12.025833.13376@cubmol.bio.columbia.edu>
 <7219@muffin.cme.nist.gov> <BARNETT.90Oct12133123@grymoire.crd.ge.com>
 <MEISSNER.90Oct12152854@osf.osf.org>
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