From nobody Sun Aug 06 11:32:51 2023 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RJckt1Fkjz4ptfp for ; Sun, 6 Aug 2023 11:32:54 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RJckt0Ycrz4G5h for ; Sun, 6 Aug 2023 11:32:54 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691321574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UxrVNwKTFyR3USCgcWo7qXgGAMFVDyNZSy7tGDpUMLk=; b=BJJ3x1EXImPM0H/xt3GwRI/MmIax/OA8z4661ZUcxXVKndPEjGo8Zzte/BzSC8QWsocmFm sG5JmR0Ydi1jVbC16g3AbF+o62X9nKCgAr5/ypy/FSSGRHS01a9x6ySCSxvmUw9SAPV7sV ZadEpyWZUECopplknVrmR0v8+VT11l2/0TqXqTCY4eoEoN6wryQwTRr84ff7701PWXbSAv 2hUVcVCEeh4lDguANKjbU8JLz8AqPjUR410Prvhk4LDOhGbnNLfp9apR5YPxdGvJmPn3jj RLKVskqD+qIYBeAMuIFpPwjzmYSQ4UYXCEfxtCnQfDhz3qvBizL5YsyMTflDEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691321574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UxrVNwKTFyR3USCgcWo7qXgGAMFVDyNZSy7tGDpUMLk=; b=NRsey5E1NzbN2So1lQZN3KFte8sOZFhO103XENAchvKqqmPDplQTH0fU4weA2l1iKw23td DVMQOx7WUqeUlcKckvmtelcTUACmBrXVQQBYUmTzqMH1RDpXWmLGclMiVKhK56dlcx3Nmz fIEFK38jFW2Wxp2pBrNdl5Yc2PnsqicdsnjUE4GCRZTkMYWhfDy1SSPupfLYLZ0C6fy3li 9ruY2VgdYckvSjdezVOolSPQgaLiLHOYasOiQ0Y745OwQkbGY79PJdDBtMTycOsb1qYkoU hi1QSk62UMPi77AI976PpggWIHg/B1sxQuWiSSFrgPxaEMlMmMzx6lASV4AaXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691321574; a=rsa-sha256; cv=none; b=ga9QxnVQaaH/YmPlr8hTMZMDTWzPeCjhAZb26/3la4Rq7s6C0L8sfe5daW5vuJzNfzv1VT oM9WcnAlKcuKFslaMWtKWX/Kzi19RfmliXamHaq5cacCveCXbj0UKE49QpUbNz+sJw/VWK BP8ErONqR8Y/Rq6E2z3N0cOtlzGLkpOHrw9QO2eRqBZG5aLWshYDcF5mpOEeNLEYFA5KQg xAcuEBr9Gd1xLozNfbflhdV2sM+MxKxVkiUKW57YtKTIR+GpmlkyPzAJ7W/26b5b4TjK+K cBgMMusW+uhf6E9l7B01pw1SCxO6bYntoTjIa7gXbIWKpAn/8klJC/0aDeQQlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from [192.168.1.10] (80-42-66-93.dynamic.dsl.as9105.com [80.42.66.93]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RJcks5GLyz8q7 for ; Sun, 6 Aug 2023 11:32:53 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: <238083d9-c937-930c-9f15-7f8708c4205a@freebsd.org> Date: Sun, 6 Aug 2023 12:32:51 +0100 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: deroff(1) and deroff (1b) with mdoc(7) (was: demandoc(1)) To: freebsd-hackers References: <0345d177-0da2-e41b-6a49-b3fe06e52be0@freebsd.org> <79117D20-0A32-4548-9250-27CCF6650403@iitbombay.org> Content-Language: en-US From: Graham Perrin Organization: FreeBSD In-Reply-To: <79117D20-0A32-4548-9250-27CCF6650403@iitbombay.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From : > … Most existing FreeBSD manual pages, and all new ones, use the > mdoc(7) form … On 06/08/2023 06:13, Bakul Shah wrote: > … > > Isn't deroff good enough? Interesting, thanks. deroff(1) /usr/local/heirloom/usr/5bin/deroff is potentially more useful than deroff(1b) /usr/local/heirloom/usr/ucb/deroff however deroff(1) removes a little too much; . deroff(1) in Plan 9 from User Space has: - a manual page that differs from deroff(1) and deroff(1b) in the Heirloom Toolchest - the same glitch (below). % cat /usr/src/share/man/man8/rc.8 | grep Operation\ of .Ss Operation of Nm .Ss Operation of Nm rc.shutdown % /usr/local/plan9/bin/deroff /usr/src/share/man/man8/rc.8 | grep Operation Operation Operation   rc.shutdown %