delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f |
Date: | Thu, 18 Oct 2001 12:33:28 -0500 |
From: | JT Williams <jeffw AT darwin DOT sfbr DOT org> |
To: | djgpp AT delorie DOT com |
Subject: | Re: bash 2.04: $# not preserved? |
Message-ID: | <20011018123328.C21027@kendall.sfbr.org> |
Mail-Followup-To: | djgpp AT delorie DOT com |
References: | <20011018115345 DOT A21027 AT kendall DOT sfbr DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <20011018115345.A21027@kendall.sfbr.org>; from jeffw@darwin.sfbr.org on Thu, Oct 18, 2001 at 11:53:45AM -0500 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
-: Can anyone confirm the following behavior -: with the djgpp port of bash 2.04? TIA/jtw Forgot to post the scripts that I was using; sorry. % cat foo #!/bin/sh echo foo: before bar: n=$# . bar "$@" echo foo: after bar: n=$# % cat bar echo bar: n=$# shift echo bar: shift 1: n=$# shift echo bar: shift 2: n=$#
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |