delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/15/10:50:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <1ff86f510801150749h4d55e8c2xd4579ef3e75553a2@mail.gmail.com>
Date: Tue, 15 Jan 2008 10:49:38 -0500
From: "Jerry D. Hedden" <jdhedden AT cpan DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: 'read -p' in ash
In-Reply-To: <1ff86f510801150735q417dd197s2f9b7ea877896f5@mail.gmail.com>
MIME-Version: 1.0
References: <1ff86f510801150735q417dd197s2f9b7ea877896f5 AT mail DOT gmail DOT com>
X-Google-Sender-Auth: 7af23acf112b0ec0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019