HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] tts and killtime formatting



On Wed, 13 Mar 2002 13:02:32 -0600, "Sanjiv Bawa" <sbawa@tabmaster.com>
wrote:

>I am trying to write a couple of custom scripts that pick up data from the
>doneq/* files. There is a confirmation file that has tts and killtime. I
>want to pick them up and format them into some sort of readable format.

# grep tts q208
tts:1015951539

# perl -ne 'print scalar(localtime("$1")) . "\n" if (/^tts:(\d+)/)' q208
Tue Mar 12 17:45:39 2002

-- 
giulioo@pobox.com

____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions