]> git.ipfire.org Git - thirdparty/coreutils.git/commit
revert behavior of --format=FMT (-c)
authorJim Meyering <jim@meyering.net>
Thu, 15 Dec 2005 12:24:30 +0000 (12:24 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 15 Dec 2005 12:24:30 +0000 (12:24 +0000)
commit8768b889133e4f1436cffe91fe50e481c5d8c3d9
tree7035ee92ba1388bc5b5160ad55bd22853bba0b1a
parent7383c9a1a337df1b6fab8107459738273ac0aceb
revert behavior of --format=FMT (-c)
add new option: --printf=FMT

(isodigit, octtobin, hextobin): Define.
(PRINTF_OPTION): Define.
(interpret_backslash_escapes, trailing_delim): New globals.
(usage): Document them.  Alphabetize on long option names.
(print_esc_char): New function.
(print_it): Rewrite, in order to handle backslash escapes.
(main): Handle new option.  Set globals for --format, too.
src/stat.c