-Original Message-
From: Vikram Goyal <[EMAIL PROTECTED]>
Sent: Sun, Feb 16, 2003 at 05:34:54PM +0530
To RedhatList
Subject: Re: Bash pattern matching
> That's true. But see bash's behavior has changed since last time I
> wrote my script. date +%m returns two dig
-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
On 18:19 13 Feb 2003, Vikram Goyal <[EMAIL PROTECTED]> wrote:
| The files in one of my dir are:
| ... .aliases .aliases.sav attach
| dean inbox interestinglists .log.02-01-11
| .log.02-01-12 .log.02-01-13 .log.03-02-01 .log.03-02-02
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
-Original Message-
From: Ronald Hermans <[EMAIL PROTECTED]>
Sent: Thu, Feb 13, 2003 at 02:40:54PM +0100
To RedhatList
Subject: RE: Bash pattern matching
> Its is complaining about:
> perl-DBI
> perl_DBD-MySQL
> perl(CGI)
> perl(DBI)
>
Ya, Are you sure. I thought
Its is complaining about:
perl-DBI
perl_DBD-MySQL
perl(CGI)
perl(DBI)
> -Original Message-
> From: Vikram Goyal [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 13 februari 2003 13:50
> To: RedhatList
> Subject: Bash pattern matching
>
>
> Hello All,
>
> The files in one of my dir are:
>