'read -p' in ash

Jerry D. Hedden jdhedden@cpan.org
Tue Jan 15 16:35: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?

--
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