From owner-freebsd-bugs Wed Aug 25 2:21: 8 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5A7F9158F5 for ; Wed, 25 Aug 1999 02:21:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA22847; Wed, 25 Aug 1999 02:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 25 Aug 1999 02:20:01 -0700 (PDT) Message-Id: <199908250920.CAA22847@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/13364: Patch to wc(1) for Unix 98 compliance. Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/13364; it has been noted by GNATS. From: Sheldon Hearn To: howardjp@wam.umd.edu Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/13364: Patch to wc(1) for Unix 98 compliance. Date: Wed, 25 Aug 1999 11:11:41 +0200 On Tue, 24 Aug 1999 22:42:13 -0400, James Howard wrote: > ! .Nd word, line, and byte count > ! .Nd word, line, byte, and character count Since the manpage is read in the context of FreeBSD, the distinction between bytes and characters is weird. I'd leave that change out. > + .It Fl m > + The number of characters in each input file > + is written to the standard output. The same reasoing applies here. I'd say .It Fl m Identical to -c, for compatibility with systems which distinguish between bytes and characters. While your change is cool now, you're putting worms in a can that someone's going to have to open up one day when we use two-byte characters. :) > + If > + .Fl c > + and > + .Fl m > + are both specified, the information is given only once. With the change of wording I've suggested above, this text is probably unnecessary and certainly confusing. > + case 'm': > + /* > + * Unix 98 demands that wc accept a -m argument Far too respectful towards the OpenGroup spec. ;-) case 'm': /* Unix 98 compatibility option */ /* FALLTHROUGH */ If you don't like the side-by-side comment, there seems to be a healthy precedent in the source tree for having the comment immediately _above_ the case line. Later, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message