-----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')-1))
> is executed and if the month has a 0 suffix For EX. 02 then it becomes
                                       ^^^^^^
> only 1 and not 01 which was the bash's previous behavior. Now I am
> creating files with date +%m etc. which creates files with a 0 suffix
                                                                 ^^^^^^

Oops.. That should be 'prefix'. My English is deteriorating:(

-- 
vikram...    <[EMAIL PROTECTED]>
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Thus My Computer Chittered :
~~~~~~~~~~~~~~~~~~~~~~~~~~
Modesty is a vastly overrated virtue.
                -- J.K. Galbraith
-- 
 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