Hi, Jason McIntyre wrote on Fri, Oct 27, 2017 at 11:51:25AM +0100: > On Fri, Oct 27, 2017 at 11:42:30AM +0200, Jan Stary wrote:
>> "rm exits 0" does not seem right (though I'm not a native speaker). > well it is clear, so i don;t see a problem. virtually every man page > with an EXIT STATUS section uses this same standard text. And besides, it has been the default rendering of the .Ex macro for more than 15 years (Werner Lemberg, 2001): http://git.savannah.gnu.org/cgit/groff.git/commit/tmac/doc.tmac?id=e345bdfac5bf9ca180445e93afe0a473c668ed8f schwarze@isnote $ echo .Ex -std | mandoc -mdoc -Tascii | grep exits The utility exits 0 on success, and >0 if an error occurs. schwarze@isnote $ echo .Ex -std | groff -mdoc -Tascii 2>/dev/null | grep exits The utility exits 0 on success, and >0 if an error occurs. schwarze@isnote $ export PATH=/usr/local/heirloom-doctools/bin/:$PATH schwarze@isnote $ echo .Ex -std | nroff -mdoc | grep exits The utility exits 0 on success, and >0 if an error occurs. The wording was originally intoduced by Cynthia Livingston on July 24, 1990 for 4.3BSD-Reno, when she set out to rewrite the whole corpus of BSD manuals in the version 2 predecessor of her new mdoc(7) language to replace the AT&T Copyright-encumbered man(7) versions: schwarze@isnote $ cd /co/4.3BSD-3Reno schwarze@isnote $ grep -F .Dd $(grep -RFl 'exits 0' *) bin/cat/cat.1:.Dd July 24, 1990 bin/chmod/chmod.1:.Dd July 24, 1990 bin/cp/cp.1:.Dd July 24, 1990 bin/dd/dd.1:.Dd July 24, 1990 bin/echo/echo.1:.Dd July 24, 1990 bin/mkdir/mkdir.1:.Dd July 24, 1990 bin/mv/mv.1:.Dd July 24, 1990 bin/pwd/pwd.1:.Dd July 24, 1990 bin/sh/cd.1:.Dd July 24, 1990 usr.bin/column/column.1:.Dd July 24, 1990 usr.bin/comm/comm.1:.Dd July 24, 1990 usr.bin/cut/cut.1:.Dd July 24, 1990 usr.bin/hexdump/hexdump.1:.Dd July 24, 1990 usr.bin/join/join.1:.Dd July 24, 1990 usr.bin/logger/logger.1:.Dd July 24, 1990 usr.bin/mkfifo/mkfifo.1:.Dd July 24, 1990 usr.bin/paste/paste.1:.Dd July 24, 1990 usr.bin/pr/pr.1:.Dd July 24, 1990 usr.bin/printf/printf.1:.Dd July 24, 1990 usr.sbin/chown/chgrp.1:.Dd July 24, 1990 Yours, Ingo