From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] rc file name matching
Date: Wed, 16 Feb 2011 10:08:33 -0500 [thread overview]
Message-ID: <509df4fc42746adef7f1ab70cbe8d509@coraid.com> (raw)
In-Reply-To: <AANLkTi=uRD-gEDBcUFTW4NPw9yPRBW8F2vxOVLK3mRjM@mail.gmail.com>
On Wed Feb 16 09:59:31 EST 2011, uair00@gmail.com wrote:
> Hi,
> In rc
> *hola*
> matches any file that contains the word 'hola'. Is there any way to
> match all the files that don't contain 'hola' in its name? with awk
> and grep it's easy, but I can't figure out with rc.
match=()
for(i in *)
! ~ $i *hola && match = ($match $i)
- erik
next prev parent reply other threads:[~2011-02-16 15:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 14:56 hugo rivera
2011-02-16 15:08 ` erik quanstrom [this message]
2011-02-16 15:18 ` hugo rivera
2011-02-16 15:15 ` Anthony Sorace
2011-02-16 15:28 ` hugo rivera
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=509df4fc42746adef7f1ab70cbe8d509@coraid.com \
--to=quanstro@labs.coraid.com \
--cc=9fans@9fans.net \
/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.
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).