Re: Bash pattern matching

2003-02-17 Thread Vikram Goyal
-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 digits but when $(($(date +'%m

Re: Bash pattern matching

2003-02-16 Thread Vikram Goyal
-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

Re: Bash pattern matching

2003-02-15 Thread Cameron Simpson
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

RE: Bash pattern matching

2003-02-13 Thread Ronald Hermans
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: .

Re: Bash pattern matching

2003-02-13 Thread Vikram Goyal
-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

Re: Bash pattern matching

2003-02-13 Thread Todd A. Jacobs
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.