* read doesn't read the second time
@ 1998-09-21 15:32 Steve Kirsch
1998-09-22 18:03 ` Larry Hall (RFK Partners Inc)
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Steve Kirsch @ 1998-09-21 15:32 UTC (permalink / raw)
To: gnu-win32
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 149 bytes --]
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"
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: read doesn't read the second time
1998-09-21 15:32 read doesn't read the second time Steve Kirsch
@ 1998-09-22 18:03 ` Larry Hall (RFK Partners Inc)
1998-09-22 23:12 ` Michael Hirmke
1998-10-27 15:18 ` Geoffrey Noer
2 siblings, 0 replies; 6+ messages in thread
From: Larry Hall (RFK Partners Inc) @ 1998-09-22 18:03 UTC (permalink / raw)
To: Steve Kirsch, gnu-win32
At 12:06 PM 9/21/98 -0700, Steve Kirsch wrote:
>>>>
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"
<<<<
This is a well-known bug that should be in the FAQ by now (especially because
it comes up every few weeks!) I believe the current work-around is to use
CTRL-J rather than enter at the end of the user input...
Larry Hall lhall@rfk.com
RFK Partners, Inc. (781) 239-1053
8 Grove Street (781) 239-1655 - FAX
Wellesley, MA 02482-7797 http://www.rfk.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: read doesn't read the second time
1998-09-21 15:32 read doesn't read the second time Steve Kirsch
1998-09-22 18:03 ` Larry Hall (RFK Partners Inc)
@ 1998-09-22 23:12 ` Michael Hirmke
1998-10-27 15:18 ` Geoffrey Noer
2 siblings, 0 replies; 6+ messages in thread
From: Michael Hirmke @ 1998-09-22 23:12 UTC (permalink / raw)
To: gnu-win32; +Cc: stk
Hi Steve,
[...]
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
[...]
>Content-Type: text/html;
> charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
Would you please stop this ?
Please reconfigure your MUA, so that it does not send mails additionally
in HTML format.
Thx and bye.
Michael.
--
Michael Hirmke | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX +49 (911) 557664
90489 Nuernberg | E-Mail mailto:mh@mike.franken.de
| WWW http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: read doesn't read the second time
1998-09-21 15:32 read doesn't read the second time Steve Kirsch
1998-09-22 18:03 ` Larry Hall (RFK Partners Inc)
1998-09-22 23:12 ` Michael Hirmke
@ 1998-10-27 15:18 ` Geoffrey Noer
2 siblings, 0 replies; 6+ messages in thread
From: Geoffrey Noer @ 1998-10-27 15:18 UTC (permalink / raw)
To: Steve Kirsch; +Cc: gnu-win32
FYI, this one's fixed in upcoming b20...
-gjn
On Mon, Sep 21, 1998 at 12:06:54PM -0700, Steve Kirsch wrote:
>
> 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"
--
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: read doesn't read the second time
@ 1998-09-24 19:59 Earnie Boyd
0 siblings, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 1998-09-24 19:59 UTC (permalink / raw)
To: Tony Pires, Steve Kirsch; +Cc: gnu-win32
If you have WinNT:
Make sure you have the Sergey's latest coolview update and the
bash.exe.gz. Make sure that you `set CYGWIN32=tty %CYGWIN32%' before
starting bash. This will fix the problem.
I don't know about Win95. I can only try that from home and it will
be a while before I can get to it.
---Tony Pires <t_pires@fox.nstn.ca> wrote:
>
> Try this:
>
> #! /bin/sh
> echo -e "enter yes/no: \c"; read answer; echo $answer
> echo -e "enter yes/no: \c"; read answer; echo $answer
>
> At 12:06 PM 9/21/98 -0700, you wrote:
> >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"
> >
> >
>
> -
> For help on using this list (especially unsubscribing), send a
message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
>
==
- \\||//
-----------o0O0--Earnie--0O0o------------
-- earnie_boyd@yahoo.com --
-- http://freeyellow.com/members5/gw32 --
--------------ooo0O--O0ooo---------------
PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: read doesn't read the second time
@ 1998-09-23 19:20 Tony Pires
0 siblings, 0 replies; 6+ messages in thread
From: Tony Pires @ 1998-09-23 19:20 UTC (permalink / raw)
To: Steve Kirsch; +Cc: gnu-win32
Try this:
#! /bin/sh
echo -e "enter yes/no: \c"; read answer; echo $answer
echo -e "enter yes/no: \c"; read answer; echo $answer
At 12:06 PM 9/21/98 -0700, you wrote:
>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"
>
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-10-27 15:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-21 15:32 read doesn't read the second time Steve Kirsch
1998-09-22 18:03 ` Larry Hall (RFK Partners Inc)
1998-09-22 23:12 ` Michael Hirmke
1998-10-27 15:18 ` Geoffrey Noer
1998-09-23 19:20 Tony Pires
1998-09-24 19:59 Earnie Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).