From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9613 invoked from network); 26 Apr 2000 20:45:02 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Apr 2000 20:45:02 -0000 Received: (qmail 29617 invoked by alias); 26 Apr 2000 20:44:44 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3035 Received: (qmail 29603 invoked from network); 26 Apr 2000 20:44:43 -0000 Date: Wed, 26 Apr 2000 22:41:01 +0200 From: =?iso-8859-1?Q?Thomas_K=F6hler?= To: zsh-users@sunsite.auc.dk Subject: Re: Help with functions Message-ID: <20000426224101.A30423@picard.franken.de> Mail-Followup-To: =?iso-8859-1?Q?Thomas_K=F6hler?= , zsh-users@sunsite.auc.dk References: <154A66C813EED311AECB00508B8B8D093F459D@iupuimbx06.uits.iupui.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: <154A66C813EED311AECB00508B8B8D093F459D@iupuimbx06.uits.iupui.edu>; from ncosgray@iupui.edu on Wed, Apr 26, 2000 at 10:28:34PM +0200 X-Operating-System: Linux picard.franken.de 2.2.14 X-Editor: VIM - Vi IMproved 5.6 http://www.vim.org/ X-IRC: tirc-1.2; Nick: jeanluc X-URL: http://jeanluc-picard.de/ --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 yea= rs > 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 followi= ng > 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 --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE5B1RdTEYXWMJlHuYRAtDTAJ0cNDnVokU61tsnzPXVvrujLd7taQCeOtyO 7OLA3qFfnduWLsK4I9z7ofo= =YSy7 -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--