Path: 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 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 <