From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 16 Feb 2011 10:08:33 -0500 To: 9fans@9fans.net Message-ID: <509df4fc42746adef7f1ab70cbe8d509@coraid.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] rc file name matching Topicbox-Message-UUID: af5536e0-ead6-11e9-9d60-3106f5b1d025 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