On Sun, 2003-03-30 at 21:59, David Smith wrote: > As a disclaimer: that only applies to regular expressions, not your > average search stuff like with 'ls'. So, if the app says that it uses > regular expression search strings, this applies, but with ones like ls, > you would just do 'ls xmms*' like you had recommended.
There's no concrete standard for pattern matching, so its helpful to know the terms. The two major command line types are globbing and unix regular expressions. What the shell does when you type ls * is called globbing. Meanwhile find and most others uses regular expressions. (Some add there own extensions, like sed for example.) When you man a command to figure out how it does pattern matching, those are the terms to watch for. For awhile it looked like things were moving towards a defacto standard of "Perl Compatible Regular Expressions" (pcre), but the perl community had to yank out the carpet and make theirs more powerful. Now pcre isn't the same thing as perl regular expressions. In fact, IIRC, Perl 5 rex will have minor incompatibilities with Perl 6 rex. -- Stuart Jansen <[EMAIL PROTECTED]> #define FALSE 0 /* This is the naked Truth */ #define TRUE 1 /* and this is the Light */ -- mailto.c
signature.asc
Description: This is a digitally signed message part
