From: Eric Smith <es@fruitcom.com>
To: zsh-users@sunsite.dk
Subject: Re: ignore globs that do not match -> prevent function from exiting
Date: Tue, 22 Jun 2004 08:56:12 +0200 [thread overview]
Message-ID: <20040622065612.GA18807@fruitcom.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0406140121530.32342-100000@toltec.zanshin.com>
Bart Schaefer said:
> mpg_glob() { mpg321 *${~^@}* }
> alias mpg='noglob mpg_glob'
If the globbed argument list includes an invalid file or something that
causes mpg321 to fall over, then mpg_glob() exits.
How could I avoid this?
thanks
--
Eric Smith
next prev parent reply other threads:[~2004-06-22 6:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-13 1:51 brace expansion in function Eric Smith
2004-06-13 4:31 ` Bart Schaefer
2004-06-13 12:53 ` Eric Smith
2004-06-13 16:04 ` Thomas Köhler
2004-06-14 7:37 ` ignore globs that do not match Eric Smith
2004-06-14 8:31 ` Bart Schaefer
2004-06-22 6:56 ` Eric Smith [this message]
2004-06-22 7:17 ` ignore globs that do not match -> prevent function from exiting Bart Schaefer
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=20040622065612.GA18807@fruitcom.com \
--to=es@fruitcom.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).