[ale] Bash wildcard

Richard Bronosky Richard at Bronosky.com
Mon Mar 26 18:35:14 EDT 2012


Square brackets are for matching char sets, not string sets.
On Mar 26, 2012 3:40 PM, "Chris Fowler" <cfowler at outpostsentinel.com> wrote:

> This one stummped me.  I wanted to create a tar of my makefiles so I
> used find.
>
> I wanted OURmakefile and OURmakefile.TEMPLATE.  I could not use a
> standard wildcard because I'd pull in svn files.
>
> To get the wildcard for find I tried many differences of the following
> with no luck.
>
> [DEVEL PERL]$ ls OURmakefil[{e},{e.TEMPLATE}]
> OURmakefile
> [DEVEL PERL]$
>
> [DEVEL PERL]$ ls -l OURmakefile*
> -rw-rw-r-- 1 cfowler cfowler 3203 Mar 25 21:53 OURmakefile
> -rw-rw-r-- 1 cfowler cfowler   63 Mar 21 13:16 OURmakefile.inc
> -rw-rw-r-- 1 cfowler cfowler  563 Mar 26 15:29 OURmakefile.TEMPLATE
> [DEVEL PERL]$
>
>
> Ignore .inc
>
> So what is the secret sauce?
>
> Chris
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20120326/889b7985/attachment.html 


More information about the Ale mailing list