Re: 'read -p' in ash

2008-01-16 Thread Corinna Vinschen
On Jan 15 18:24, Eric Blake wrote: > According to Jerry D. Hedden on 1/15/2008 8:35 AM: > | According to its man page, 'ash' supports the '-p' option on 'read'. > | > | Is this a bug, or am I doing something wrong? > > Cygwin's ash is notoriously out-of-date and non-POSIX compliant. For It's actu

Re: 'read -p' in ash

2008-01-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jerry D. Hedden on 1/15/2008 8:35 AM: | According to its man page, 'ash' supports the '-p' option on 'read'. | | Is this a bug, or am I doing something wrong? Cygwin's ash is notoriously out-of-date and non-POSIX compliant. For almost a

Re: 'read -p' in ash

2008-01-15 Thread Jerry D. Hedden
> According to its man page, 'ash' supports the '-p' option > on 'read'. However, the following: > > #!/bin/ash > read -p'Hit to exit: ' x > > produces: > > read: Illegal option -p > > Is this a bug, or am I doing something wrong? Delving into the source, it appears that 'ash' was built wi

'read -p' in ash

2008-01-15 Thread Jerry D. Hedden
According to its man page, 'ash' supports the '-p' option on 'read'. However, the following: #!/bin/ash read -p'Hit to exit: ' x produces: read: Illegal option -p Is this a bug, or am I doing something wrong? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: