1Usage: datesort [OPTION]... [FILE]... 2 3Sort contents of FILE chronologically. 4If FILE is omitted read from stdin. 5 6The first date/time value per line is the sort key. Dates without times 7account for a smaller value than any date/time on the same day. Times 8without dates account for a smaller value than any date or date/time. 9If a line contains no dates or times or date/times it is sorted towards 10the front. 11 12 -h, --help Print help and exit 13 -V, --version Print version and exit 14 -i, --input-format=STRING... Input format, can be used multiple times. 15 Each date/time will be passed to the input 16 format parsers in the order they are given, if a 17 date/time can be read successfully with a given 18 input format specifier string, that value will 19 be used. 20 -b, --base=DT For underspecified input use DT as a fallback to 21 fill in missing fields. Also used for ambiguous 22 format specifiers to position their range on the 23 absolute time line. 24 Must be a date/time in ISO8601 format. 25 If omitted defaults to the current date/time. 26 -e, --backslash-escapes Enable interpretation of backslash escapes in the 27 input format specifier strings. 28 --from-locale=LOCALE Interpret dates on stdin or the command line as 29 coming from the locale LOCALE, this would only 30 affect month and weekday names as input formats 31 have to be specified explicitly. 32 --from-zone=ZONE Interpret dates on stdin or the command line as 33 coming from the time zone ZONE. 34 35 -r, --reverse Reverse the sort order. 36 -u, --unique Print at most one line per date/time value.