delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/19/11:13:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 19 May 2003 08:11:34 -0700
From: Dario Alcocer <alcocer AT helixdigital DOT com>
To: cygwin AT cygwin DOT com
Subject: ash missing 'getopts' builtin
Message-ID: <20030519081134.B19452@ns.helixdigital.com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5.1i

I'm not sure if this was intentional or not (being that /bin/sh is
probably used by autoconf configure scripts), but ash is missing the
'getopts' built-in command. The manual page documents it, but the
command isn't actually compiled in.

Patch file is attached; for commands that are meant to be excluded, I've
commented them out instead of using the '-j' flag (supposed to make job
control commands.)


--- ash-20020731-1/builtins.def.orig    1999-07-16 20:17:30.000000000 -0700
+++ ash-20020731-1/builtins.def 2003-05-19 08:01:04.000000000 -0700
@@ -60,34 +60,34 @@
 evalcmd                eval
 execcmd                exec
 exitcmd                exit
-expcmd -j      exp let
+#expcmd                exp let
 exportcmd      export readonly
 #exprcmd       expr test [
 falsecmd       false
 histcmd -h     fc
 fgcmd -j       fg
-getoptscmd -j  getopts
+getoptscmd     getopts
 hashcmd                hash
 jobidcmd -j    jobid
 jobscmd        -j      jobs
 #linecmd               line
-localcmd -j    local
+#localcmd      local
 #nlechocmd     nlecho
-printfcmd -j   printf
+#printfcmd     printf
 pwdcmd         pwd
 readcmd                read
 returncmd      return
 setcmd         set
-setvarcmd -j   setvar
+setvarcmd      setvar
 shiftcmd       shift
 testcmd                [ test
 trapcmd                trap
 truecmd                : true
 typecmd                type
 umaskcmd       umask
-unaliascmd -j  unalias
+#unaliascmd    unalias
 unsetcmd       unset
 waitcmd                wait
 #foocmd                foo
-aliascmd -j    alias
+#aliascmd      alias
 ulimitcmd      ulimit



-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer AT helixdigital DOT com -- http://www.helixdigital.com

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