-----Original Message-----
From: Tim Waugh <[EMAIL PROTECTED]>
Sent: Thu, Feb 06, 2003 at 05:57:35PM +0000
To PsycheList
Subject: Re: Bash pattern matching

> 
> You are confusing fnmatch-style patterns (which the shell uses) with
> regular expressions (which it doesn't).
> 
> Tim.
> */

Sorry, your answer is not clear. man bash says:

Pattern Matching

 Any character that appears in a pattern, other than the special
 pattern characters  described below, matches itself.  The NUL
 character may not occur in a pattern.  The special pattern
 characters must be  quoted  if they are to be matched literally.

 The special pattern characters have the following meanings:

 *      Matches any string including the null string.
 ?      Matches any single character.
 [...]  Matches any one of the enclosed characters. A pair of charac-
        ters separated by a hyphen denotes a range expression; any char-
                AND SO ON...

Which patterns is it talking about?
-- 
vikram...    <[EMAIL PROTECTED]>
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Thus My Computer Chittered :
~~~~~~~~~~~~~~~~~~~~~~~~~~
It is your destiny.
- Darth Vader
-- 
 o
~|~
 =
Registered Linux User #285795



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to