zsh-users
 help / color / mirror / code / Atom feed
From: "Thomas Köhler" <jean-luc@picard.franken.de>
To: Suresh.Kannan@ubs.com
Cc: zsh-users@sunsite.dk
Subject: Re: (No) Exported Functions
Date: Tue, 25 May 2004 13:49:33 +0200	[thread overview]
Message-ID: <20040525114933.GA20270@picard.franken.de> (raw)
In-Reply-To: <C211FFEFFD465841BF7A8A0989E9C0BD03FB044D@NLDNC003PEX1.ubsgs.ubsgroup.net>

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

Hi,

Suresh.Kannan@ubs.com wrote:
> Hi,
> 
> 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()
> 
> I can't do a 
> $ find . -name '*.blah' | xargs coolfun # coolfun: No such file or directory

But with "setopt extendedglob" you can do a
$ coolfun **/*.blah
which is shorter anyways :)

> Thanks,
> Suresh

Ciao,
Thomas

-- 
 Thomas Köhler       Email:       jean-luc@picard.franken.de
     <><             WWW:           http://jeanluc-picard.de
                     IRC:                           tkoehler
                     PGP public key available from Homepage!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2004-05-25 12:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 10:34 Suresh.Kannan
2004-05-25 11:18 ` Peter Stephenson
2004-05-25 11:49 ` Thomas Köhler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040525114933.GA20270@picard.franken.de \
    --to=jean-luc@picard.franken.de \
    --cc=Suresh.Kannan@ubs.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).