delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/25/20:53:39

From: dougk AT primenet DOT com (Doug Kushner)
Subject: read not waiting for input
25 Mar 1997 20:53:39 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199703252151.OAA15360.cygnus.gnu-win32@usr09.primenet.com>
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

This is probably a FAQ, but I've digested all available documentation and
haven't found the answer.  

I'm looking for the reason why 'read' isn't waiting for input from the
keyboard.  

Just a simple script ...

#!/bin/sh
echo "Read 1"
read one
echo "Read 2"
read two
# end of script

.... will complete without pausing for user input.

Help!

Doug
dougk AT primenet DOT com




-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019