Hi,

_______________________
da=`date  +%a-%d-%b` 

cp yahoo.txt yahoo-$da.txt
-----------------------

where da = Fri-01-Mar format..

Plz read...man date...ur will get more info

Jai



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Devdas
Bhagat
Sent: Thursday, February 28, 2002 3:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [LIH] Shell Script Help


On 28/02/02 02:01 -0800, rocky g wrote:
> I am writing a shell script which does billing on time
> basis and i need to add the following
> (Format hh:mm:s)
> 00:10:15 
> 00:05:8
> 
> how to add the time..
man date . And please start a new thread for a new topic.

Devdas Bhagat

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to