-----Original Message-----
From: "Todd A. Jacobs" <[EMAIL PROTECTED]>
Sent: Thu, Feb 13, 2003 at 12:49:25PM -0800
To RedhatList
Subject: Re: Bash pattern matching


> On Thu, 13 Feb 2003, Vikram Goyal wrote:
> 
> > ls Mail/.log\.[0-9]*$(($(date +'%y')-1))-[01]*$(($(date +'%m')-1))-*
> 
> Run "set -x" before running your command, so that you can see how bash is 
> expanding your command line. My guess is that the files that aren't 
> matching don't have enough digits in them.
> 

Thanks but did not help.

-- 
vikram...    <[EMAIL PROTECTED]>
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Thus My Computer Chittered :
~~~~~~~~~~~~~~~~~~~~~~~~~~
The difference between women and girls is as much as twenty years,
in some states.
-- 
 o
~|~
 =
Registered Linux User #285795



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to