This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 'read -p' in ash
> 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/