-----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 it was apache-2.0 - Php - Postgre  and
kernel 2.9 compiled for PIV 2THz running on I386;-)

> 
> 
> > -----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:
> > .          ..             .aliases       .aliases.sav   attach
> > dean               inbox          interesting    lists          
> > .log.02-01-11
> > .log.02-01-12  .log.02-01-13  .log.03-02-01  .log.03-02-02  
> > .log.03-02-03
> > .log.03-02-04  .log.03-02-05  .log.03-02-06  .log.2-01-11   
> > .log.2-1-11
> > .log.2-1-12    .msgid.cache   sent       .tmp           trash
> > 
> > I want bash to match the following pattern in file listing but it
> > dosen't do that. Can you point what I am doing wrong.
> > 
> > ls Mail/.log\.[0-9]*$(($(date +'%y')-1))-[01]*$(($(date +'%m')-1))-*
> > 
> > Output is:
> > Mail/.log.02-01-11  Mail/.log.02-01-12  Mail/.log.02-01-13
> > 
> > The asterix is not being considered.
> > Why the files .log.2-01-11 .log.2-1-11 .log.2-1-12 are not matched?
> > Any solution...
> > 
> > Thanks.

-- 
vikram...    <[EMAIL PROTECTED]>
You have a message from the operator.
-- 
~|~
 =
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