On Sun, Mar 29, 2009 at 11:02 PM, Bill Hoffman <[email protected]>wrote:
> Philip Lowman wrote:
>
> I'll put in the feature request for {} and at some point in the
>> future it can be addressed.
>>
>> Can someone point me to a definition of what glob is supposed to
>> have in it? It seems to vary from php glob, perl glob, various
>> different shell globs, etc. I can not seem to find a definitive
>> answer as to what a glob function is supposed to do, other than it
>> is something shy of a regular expression. The CMake one seems to do
>> about the same as a bash shell as far as I can tell.
>>
>>
>> Here is bash's glob support
>> http://www.faqs.org/docs/abs/HTML/globbingref.html
>>
>> MS-Dos and Windows are limited to '*' and '?'
>>
>> Not sure about everyone else. If CMake can support all of what Bash
>> supports that probably would be above and beyond the call of duty.
>>
>>
> So, I see no mention of {} in bash?
It's on that page.
bash$ *ls -l {b*,c*,*est*}*
-rw-rw-r-- 1 bozo bozo 0 Aug 6 18:42 b.1
-rw-rw-r-- 1 bozo bozo 0 Aug 6 18:42 c.1
-rw-rw-r-- 1 bozo bozo 758 Jul 30 09:02 test1.txt
--
Philip Lowman
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake