From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9974 invoked from network); 26 Apr 2000 21:27:49 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Apr 2000 21:27:49 -0000 Received: (qmail 276 invoked by alias); 26 Apr 2000 21:27:29 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3036 Received: (qmail 263 invoked from network); 26 Apr 2000 21:27:27 -0000 Message-ID: <154A66C813EED311AECB00508B8B8D093F45A9@iupuimbx06.uits.iupui.edu> From: "Cosgray, Nathan" To: zsh-users@sunsite.auc.dk Subject: RE: Help with functions Date: Wed, 26 Apr 2000 16:02:51 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I do see the following command in run_masterfile_step: this=3D`basename $0` but no references at all to 'nofunctionargzero' in my init files. -n. -----Original Message----- From: Thomas K=F6hler [mailto:jean-luc@picard.franken.de] Sent: Wednesday, April 26, 2000 3:41 PM To: zsh-users@sunsite.auc.dk Subject: Re: Help with functions Hi, On Wed, Apr 26, 2000 at 10:28:34PM +0200, Cosgray, Nathan wrote: >=20 > Hello everyone, >=20 > I am trying to run a complex group of processes that at one time were = all > automated via make, which called functions in a zsh shell script, = which in > turn moved files around and ran sas scripts. All of this was written years > ago by the predecessor to the predecessor to my predecessor. To my > knowledge the last time they were used sucessfully was towards the = end of > 1998. >=20 > Here is the problem that seems to be holding me back. To be as = precise as > possible, the makefile calls functions within a zsh script in the following > manner: >=20 > : > ./run_masterfile_step get_file > =20 > : > ./run_masterfile_step get_file >=20 > : > ./run_masterfile_step recalcprep >=20 > Etc. So, from my makefile, many different zsh functions are called = to > operate on many different files, according to the dependencies = defined in > the makefile and the parameters passed to the various functions in > run_masterfile_step. [...] OK, the problem seems very strange, so here goes a _very_ wild guess: Does "run_masterfile_step" evaluate $0 sometimes and there is now a "setopt nofunctionargzero" somewhere in you .zshrc (or another init-file) that wasn't there before? CU, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de | LCARS - = Linux <>< WWW: http://jeanluc-picard.de | for Computers IRC: jeanluc | on All Real PGP public key available from Homepage! | Starships