screen-users
[Top][All Lists]
Advanced

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

Re: time formatting?


From: Aaron Davies
Subject: Re: time formatting?
Date: Wed, 28 Jan 2009 15:09:50 +0800

On Tue, Jan 20, 2009 at 9:47 AM, Aaron Davies <address@hidden> wrote:

> there doesn't seem to be a specific escape for hour or minute, and %c prints 
> unpadded and colon-separated.
>
> for purposes of setting 7logfile, i'd like to be able to get the same time 
> format that
>
> date +%H%M%S
>
> yields (ie zero-padded and unpunctuated)

ok, here's a patch (i can't get github to work so this is against the
tarball http://www.wpursell.net/screen-4.1.0w.110-349d.tar.gz)

i picked %i, %I, and %j as the first two adjacent free letters; feel
free to use something else if you like
--
Aaron Davies
address@hidden

Attachment: patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]