Article View: comp.unix.shell
Article #1516Re: standard input to commands in a shell script
From: Pierre Rogier
Date: Mon, 15 Oct 1990 18:52
Date: Mon, 15 Oct 1990 18:52
25 lines
1216 bytes
1216 bytes
In article <1990Oct12.025833.13376@cubmol.bio.columbia.edu>, ping@cubmol.bio.columbia.edu (Shiping Zhang) writes: |> When I invoke the following script, the process always pauses at |> the password prompt. I have to hit the return key to make it |> proceed. I don't know what's the problem. Do you have the same |> problem if you try it? I'm working on a Sun-3 with os4.1. I appreciate |> it if anyone can point out the problem for me. Thanks. |> |> # cut here |> ftp genbank.bio.net << END |> ftp |> ident |> ls |> quit |> END ftp read passwd from /dev/tty and not from standard input I use the following script : ftp -n my_machine <<END user ftp ident ls quit END
Technical Details
Message-ID:
<598@echbull.bull.fr>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!rutgers!usc!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!inria!bull.bull.fr!echbull!caligula!rogierReferences:
<1990Oct12.025833.13376@cubmol.bio.columbia.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!rutgers!usc!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!inria!bull.bull.fr!echbull!caligula!rogier From: rogier@caligula.ec.bull.fr (Pierre Rogier) Newsgroups: comp.unix.shell Subject: Re: standard input to commands in a shell script Message-ID: <598@echbull.bull.fr> Date: 15 Oct 90 18:52:41 GMT References: <1990Oct12.025833.13376@cubmol.bio.columbia.edu> Sender: news@bull.bull.fr Reply-To: Pierre.Rogier@ec.bull.fr Organization: BULL S.A. Echirolles Lines: 25