Hello,

is it possible with date to set the time it shall display with the number
of seconds, one gets from the output of:

'  %s   seconds since 00:00:00, Jan 1, 1970 (a GNU extension)'

If not I would suggest to implement this possibility, because it could be
quite practical for use in shell sctips.

The reason is as follows: In one of my scripts I use 'date +%s' as time
step as part of a identification number and I would later be able to
display the date of the identification again.

As far as I see, date does not accept the single number, so one could use
this free function like:

date 1006589268


with best regards

JR


-- 
Jens R�der, Braunschweig


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to