]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: standardize messages about the '-' stdin FILE
authorPádraig Brady <P@draigBrady.com>
Thu, 30 Apr 2015 13:02:46 +0000 (14:02 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 30 Apr 2015 17:25:01 +0000 (18:25 +0100)
commite981643ae3e57affdf3f4f6aa8bf53cf06433f17
tree410ea5b90407aabda7177a934bce47aaf01d4f7a
parent88a03548248cac37662f5044df5c35152c5eb937
doc: standardize messages about the '-' stdin FILE

* src/system.h (emit_stdin_note): A new function, refactoring
the usage note about the '-' FILE implying stdin.
* src/base64.c (usage): Use the new function to emit the
note in a standard location and with standard separation.
* src/cat.c (usage): Likewise.
* src/csplit.c (usage): Likewise.
* src/cut.c (usage): Likewise.
* src/expand.c (usage): Likewise.
* src/fmt.c (usage): Likewise.
* src/head.c (usage): Likewise.
* src/md5sum.c (usage): Likewise.
* src/nl.c (usage): Likewise.
* src/od.c (usage): Likewise.
* src/paste.c (usage): Likewise.
* src/pr.c (usage): Likewise.
* src/ptx.c (usage): Likewise.
* src/shred.c (usage): Likewise.
* src/shuf.c (usage): Likewise.
* src/sort.c (usage): Likewise.
* src/sum.c (usage): Likewise.
* src/tac.c (usage): Likewise.
* src/tail.c (usage): Likewise.
* src/tsort.c (usage): Likewise.
* src/unexpand.c (usage): Likewise.
* src/wc.c (usage): Likewise.
* src/join.c (usage): Adjust the separation used for
the message referring to FILE1 or FILE2 as stdin.
* src/comm.c (usage): Add a message using the same
wording (translation) as used in join.
* src/split.c (usage): Reword to using FILE rather than
INPUT, allowing use of emit_stdin_note().  Also remove
the mention of "fixed-size" pieces as this isn't now
always the case.
Fixes http://pad.lv/1450179
27 files changed:
src/base64.c
src/cat.c
src/comm.c
src/csplit.c
src/cut.c
src/expand.c
src/fmt.c
src/fold.c
src/head.c
src/join.c
src/md5sum.c
src/nl.c
src/od.c
src/paste.c
src/pr.c
src/ptx.c
src/shred.c
src/shuf.c
src/sort.c
src/split.c
src/sum.c
src/system.h
src/tac.c
src/tail.c
src/tsort.c
src/unexpand.c
src/wc.c