From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [95.108.130.120]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id sABLtUOZ003429 for ; Tue, 11 Nov 2014 16:55:30 -0500 (EST) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward13.mail.yandex.net (Yandex) with ESMTP id BF69214231D for ; Wed, 12 Nov 2014 00:55:23 +0300 (MSK) Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 8A0BDE400AC for ; Wed, 12 Nov 2014 00:55:23 +0300 (MSK) Received: from unknown (unknown [89.204.138.105]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id izJBiFIYEM-tMiGqRT4; Wed, 12 Nov 2014 00:55:22 +0300 (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (Client certificate not present) X-Yandex-Uniq: 124111fb-ec80-43b7-80b7-82b0efd7a8be DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1415742923; bh=ZulYbKpC/0XzQb+4DWCYr5WJTPqspOn1ONJsRMaamoU=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:User-Agent: MIME-Version:Content-Type:Content-Transfer-Encoding; b=BRRsToYfIyetU/tPN7Si9W46/bKbeGibrXjiQFUpvD33SqluFYlunmvxptexAulMV 7NUExgMUimmWM/eShZwRB4/aaAnfuJj7eGK6N28aa/zXrj4JFHWXTkMY6qkdAvlHx0 /Dr6NrCt4+m6TPz+8DuePWbtky2ZYpLpVFWrE5F0= Authentication-Results: smtp13.mail.yandex.net; dkim=pass header.i=@yandex.com Date: Tue, 11 Nov 2014 22:55:16 +0100 From: Steffen Nurpmeso To: tech@mdocml.bsd.lv Subject: Corner case: mandoc doesn't require \& where it should Message-ID: <20141111215516.zZzO7O4M%sdaoden@yandex.com> Mail-Followup-To: tech@mdocml.bsd.lv User-Agent: s-nail v14.7.8-70-g9310369 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by krisdoz.my.domain id sABLtUOZ003429 Hello Ingo, list, (i stripped "has too much AI where it shouldn't" from Subject:) imagine this, .Op Fl t Ar Sh | Ss with mandoc you get mdocmx [-v] [-t Sh | Ss] but with groff it is mdocmx [-v] [-t file ... which is not nice but luckily it also echoes Usage: .Sh not callable by other macros (#26) which points out something correct since it really should be .Op Fl t Ar \&Sh | \&Ss Really unfortunate is imho that -Tlint doesn't catch this. Interestingly .Op Fl t Ar Sh | Ss | Ar du gives mdocmx [-v] [-t Sh | Ss | du] Ciao! --steffen -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv