In the last episode (May 30), markzero said:
> How may one pretty print an epoch timestamp using date(1)? The date
> manual page gives me a headache.
> 
> Essentially, I have the timestamp in a file:
> 
> $ cat t
> 1117417465
> 
> ..and I want to print it in a standard UK format, such as:
> 
>   +%H:%M:%S %d/%m/%y

date -r $(cat t) +"%H:%M:%S %d/%m/%y"

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to