SHTL-MDATE.TMP(1) GNU Portable Shell Tool SHTL-MDATE.TMP(1) NNAAMMEE sshhttooooll mmddaattee - GGNNUU sshhttooooll pretty-print last modification time SSYYNNOOPPSSIISS sshhttooooll mmddaattee [--nn|----nneewwlliinnee] [--zz|----zzeerroo] [--ss|----sshhoorrtteenn] [--dd|----ddiiggiittss] [--ff|----ffiieelldd--sseepp _s_t_r] [--oo|----oorrddeerr _s_p_e_c] _p_a_t_h DDEESSCCRRIIPPTTIIOONN This command pretty-prints the last modification time of a given file or directory _p_a_t_h, while still allowing one to specify the format of the date to display. OOPPTTIIOONNSS The following command line options are available. --nn, ----nneewwlliinnee By default, output is written to _s_t_d_o_u_t followed by a "newline" (ASCII character 0x0a). If option --nn is used, this newline character is omitted. --zz, ----zzeerroo Pads numeric day and numeric month with a leading zero. Default is to have variable width. --ss, ----sshhoorrtteenn Shortens the name of the month to a english three character abbreviation. Default is full english name. This option is silently ignored when combined with --dd. --dd, ----ddiiggiittss Use digits for month. Default is to use a english name. --ff, ----ffiieelldd--sseepp _s_t_r Field separator string between the day month year tripple. Default is a single space character. --oo, ----oorrddeerr _s_p_e_c Specifies order of the day month year elements within the tripple. Each element represented as a single character out of ``"d"'', ``"m"'' and ``"y"''. The default for _s_p_e_c is ``"dmy"''. EEXXAAMMPPLLEE # shell script shtool mdate -n / shtool mdate -f '/' -z -d -o ymd foo.txt shtool mdate -f '-' -s foo.txt HHIISSTTOORRYY The GGNNUU sshhttooooll mmddaattee command was originally written by Ulrich Drepper in 1995 and revised by Ralf S. Engelschall in 1998 for inclusion into GGNNUU 18-Jul-2008 shtool 2.0.8 1 SHTL-MDATE.TMP(1) GNU Portable Shell Tool SHTL-MDATE.TMP(1) sshhttooooll. SSEEEE AALLSSOO _s_h_t_o_o_l(1), _d_a_t_e(1), _l_s(1). 18-Jul-2008 shtool 2.0.8 2