From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16956 invoked from network); 25 May 2004 12:01:16 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 25 May 2004 12:01:16 -0000 Received: (qmail 14443 invoked from network); 25 May 2004 12:00:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 May 2004 12:00:20 -0000 Received: (qmail 4904 invoked by alias); 25 May 2004 12:00:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7472 Received: (qmail 4889 invoked from network); 25 May 2004 12:00:10 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 25 May 2004 12:00:07 -0000 Received: (qmail 13658 invoked from network); 25 May 2004 12:00:06 -0000 Received: from karnickel.franken.de (193.141.110.11) by a.mx.sunsite.dk with SMTP; 25 May 2004 12:00:04 -0000 Received: from karnickel.franken.de (localhost [127.0.0.1]) by karnickel.franken.de (8.12.10/8.12.10) with ESMTP id i4PC01mv053386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 May 2004 14:00:03 +0200 (CEST) Received: (from uucp@localhost) by karnickel.franken.de (8.12.10/8.12.2/Submit) with UUCP id i4PBxg7O053280; Tue, 25 May 2004 13:59:42 +0200 (CEST) (envelope-from jean-luc@picard.franken.de) Received: by picard.franken.de (Postfix, from userid 1001) id 6A474118036; Tue, 25 May 2004 13:49:33 +0200 (CEST) Date: Tue, 25 May 2004 13:49:33 +0200 From: Thomas =?iso-8859-1?Q?K=F6hler?= To: Suresh.Kannan@ubs.com Cc: zsh-users@sunsite.dk Subject: Re: (No) Exported Functions Message-ID: <20040525114933.GA20270@picard.franken.de> Mail-Followup-To: Suresh.Kannan@ubs.com, zsh-users@sunsite.dk References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: X-Operating-System: Linux X-Editor: VIM - Vi IMproved 6.2 http://www.vim.org/ X-IRC: tirc; Nick: tkoehler X-URL: http://jeanluc-picard.de/ User-Agent: Mutt/1.5.4i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-1.5 required=6.0 tests=BAYES_01 autolearn=no version=2.63 X-Spam-Hits: -1.5 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Suresh.Kannan@ubs.com wrote: > Hi, >=20 > I've read the manuals and googled and as far as I can see, zsh > doesn't appear to support exported functions. Is this true? If > not please ignore the rest of the mail :) Apart from Peter's answer which explains all of that "exported function" stuff, I'd like to add something... > 1. In my environment are weird and wonderful functions that do > some useful stuff on a list of files, let's say coolfun() >=20 > I can't do a=20 > $ find . -name '*.blah' | xargs coolfun # coolfun: No such file or direct= ory But with "setopt extendedglob" you can do a $ coolfun **/*.blah which is shorter anyways :) > Thanks, > Suresh Ciao, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de <>< WWW: http://jeanluc-picard.de IRC: tkoehler PGP public key available from Homepage! --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAszLNTEYXWMJlHuYRAsKpAJ9TIwxVyXDJ05DgsEnUrLterXhp5QCfRIpy 96VVZn+n5sqsaLBFijilhxQ= =zT5k -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--