On Wed, Oct 31, 2012 at 3:56 AM, Dan Shelton <[email protected]>wrote:
> Can ksh93 printf "%T" be used to convert dates from ls -l to absolute > dates? I get dates from ls -l like "Oct 27", which is relative to the > current year. But I want the fully qualified date and time stamp (i.e. > with YYYY) based on the input string "Oct 30 14:32". Can printf %T do > that for me? > $ printf '%T\n' 'Oct 27 12:34' Sat Oct 27 12:34:00 CST 2012 $ _______________________________________________ > ast-users mailing list > [email protected] > https://mailman.research.att.com/mailman/listinfo/ast-users >
_______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
