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

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <1ff86f510801150735q417dd197s2f9b7ea877896f5@mail.gmail.com>
Date: Tue, 15 Jan 2008 10:35:01 -0500
From: "Jerry D. Hedden" <jdhedden AT cpan DOT org>
To: cygwin AT cygwin DOT com
Subject: 'read -p' in ash
MIME-Version: 1.0
X-Google-Sender-Auth: cd73d3f5e09424c6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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?

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