'read -p' in ash

Jerry D. Hedden jdhedden@cpan.org
Tue Jan 15 17:38:00 GMT 2008


> According to its man page, 'ash' supports the '-p' option
> on 'read'.  However, the following:
>
>   #!/bin/ash
>   read -p'Hit <CR> 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
with -DSMALL.  Unfortunately, there is no .README file to
let users know this.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list