Hi,

Suppose I have the output of this command
date +%d.%H

which outputs:
06.11

I want to adjust the last two digits to less 1:
such that it becomes  06.10..
how do I do that?

perhaps something like this.
s/\d+$/(regexp being lookup minus 1/


thanks!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to