DragonFly On-Line Manual Pages

Search: Section:  


STRPTIME(1)                      User Commands                     STRPTIME(1)

NAME

strptime - Command line version of the C function

SYNOPSIS

strptime [-h|--help] [-V|--version] [-t|--time] [-q|--quiet]

DESCRIPTION

strptime 0.2.7 [-fSTRING|--format=STRING] [-iSTRING|--input-format=STRING] [-e|--backslash-escapes] [-S|--sed-mode] [FMTs]... Parse input from stdin according to one of the given formats FMTs. The format string specifiers are the same as for strptime(3). -h, --help Print help and exit -V, --version Print version and exit -t, --time also display time in the output, default is to display the date -q, --quiet Suppress message about date/time and duration parser errors. -f, --format=STRING Output format. This can either be a specifier string (similar to strftime()'s FMT) or the name of a calendar. -i, --input-format=STRING Input format, can be used multiple times. Each date/time will be passed to the input format parsers in the order they are given, if a date/time can be read successfully with a given input format specifier string, that value will be used. -e, --backslash-escapes Enable interpretation of backslash escapes in the output and input format specifier strings. -S, --sed-mode Copy parts from the input before and after a matching date/time. Note that all occurrences of date/times within a line will be processed.

AUTHOR

Written by Sebastian Freundt <freundt@fresse.org>

REPORTING BUGS

Report bugs to: https://github.com/hroptatyr/dateutils/issues

SEE ALSO

The full documentation for strptime is maintained as a Texinfo manual. If the info and strptime programs are properly installed at your site, the command info (dateutils)strptime should give you access to the complete manual. dateutils 0.2.7 January 2014 STRPTIME(1)

Search: Section: