diff options
author | Jim Meyering <jim@meyering.net> | 1994-09-24 16:16:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-09-24 16:16:17 +0000 |
commit | 553cabb1d14624cac7f249df34d585af7c33ae72 (patch) | |
tree | f8ef05a861446bc6ddb41aad7e78d4642d342683 /src/date.c | |
parent | fed388a533273d53ae73ad70801699435cf60fdd (diff) | |
download | coreutils-553cabb1d14624cac7f249df34d585af7c33ae72.tar.xz |
(main): Cast string literal to (char*).
Diffstat (limited to 'src/date.c')
-rw-r--r-- | src/date.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/date.c b/src/date.c index 6a7425823..9c9cf42ff 100644 --- a/src/date.c +++ b/src/date.c @@ -298,7 +298,7 @@ FORMAT controls the output. Interpreted sequences are:\n\ %%n a newline\n\ %%p locale's AM or PM\n\ %%r time, 12-hour (hh:mm:ss [AP]M)\n\ - %%s seconds since 00:00:00, Jan 1, 1970 (a nonstandard extension)\n\ + %%s seconds since 00:00:00, Jan 1, 1970 (a GNU extension)\n\ %%S second (00..61)\n\ %%t a horizontal tab\n\ %%T time, 24-hour (hh:mm:ss)\n\ @@ -310,6 +310,13 @@ FORMAT controls the output. Interpreted sequences are:\n\ %%y last two digits of year (00..99)\n\ %%Y year (1970...)\n\ %%Z time zone (e.g., EDT), or nothing if no time zone is determinable\n\ +\n\ +By default, `date' pads numeric fields with zeroes. GNU `date'\n\ +recognizes the following nonstandard modifiers between `%' and a\n\ +numeric directive.\n\ +\n\ + `-' (hyphen) do not pad the field\n\ + `_' (underscore) pad the field with spaces\n\ "); } exit (status); |