From: stk AT infoseek DOT com (Steve Kirsch) Subject: read doesn't read the second time 22 Sep 1998 07:16:01 -0700 Message-ID: <000701bde592$ff92d240$0bd205c6.cygnus.gnu-win32@topgun.infoseek.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BDE558.52D9CC50" To: This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BDE558.52D9CC50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This script fails to wait for the second number to be input: read -p "enter number: " num1 read -p "enter another number: " num2 echo "done" ------=_NextPart_000_0004_01BDE558.52D9CC50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
This script fails to wait for the = second number=20 to be input:
 
read -p "enter number: " = num1
read=20 -p "enter another number: " num2
echo=20 "done"
------=_NextPart_000_0004_01BDE558.52D9CC50-- - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".