delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <011101c02f35$39070f30$c4acb018@home.com> |
From: | "Erik Nolte" <enolte AT campuspipeline DOT com> |
To: | <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | ash and getopts |
Date: | Thu, 5 Oct 2000 19:31:59 -0600 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Why is getopts (and let, fc, local, printf, setvar, unalias, and alias) tagged as a job control dependent feature in ash's builtins.def? I have several scripts using getopts to parse the command line that must work for /bin/sh on both Solaris and cygwin. In the past, we've had to copy /bin/bash.exe to /bin/sh.exe to get around this problem. Now I'm finding that if I remove the "-j" from the getopts line in ash/builtins.def and rebuild, I get a shell consistent with sh on Solaris (and HP/UX, AIX, SVR4, ...). It seems like ash/builtins.def should only have "-j" for bgcmd, fgcmd, jobidcmd, and jobscmd. - Erik -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |