From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vb0-f41.google.com (mail-vb0-f41.google.com [209.85.212.41]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id rBA1b3vK001314 for ; Mon, 9 Dec 2013 20:37:04 -0500 (EST) Received: by mail-vb0-f41.google.com with SMTP id m10so93994vbh.0 for ; Mon, 09 Dec 2013 17:36:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=9XKgVxHp+DId2g9gJJ00fnMCBuiZDbc1IElBaArrr1U=; b=O6feQQaqIuZmWFunxM1pu9tMlCTadLFugltNndym/MmKPhv7cd0XsWpOfn/6SNx8xg 4jcqJJ3UFgQSqHN7pOoFSsBRvBRIxWdZV/KsGiW/5seDoJZeETTeaFUYHefuEGSxXu05 8ru2wD59PMgiKZhbs9PLlsUivzwiVuflkUvBnrzYEs8Z6S8PkvmA5o8GKVoWfrhxkB5e ww3nFd6SKqkca4o9B/et5igIEGojaW55pjsDAVt+LDdr43T+DiUBSRmW1jW1xM27Cz4K Nxl7DvNQwMVy2MrW2v/Rd9W9XWD2LK3lpA6MiQyE/I83QIUkkidlMLIuBdMK/CFeEUE+ f1Eg== X-Gm-Message-State: ALoCoQnkia9SeiU0v/43sSmtIxmvKk5LO3lPzNC9hfhqt+QMnM/3DvcUcKmtvISERxYA+ZAfnTQQ X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 X-Received: by 10.52.165.240 with SMTP id zb16mr10242729vdb.19.1386639417571; Mon, 09 Dec 2013 17:36:57 -0800 (PST) Received: by 10.58.210.39 with HTTP; Mon, 9 Dec 2013 17:36:57 -0800 (PST) X-Originating-IP: [76.18.88.142] Date: Mon, 9 Dec 2013 18:36:57 -0700 Message-ID: Subject: .nr weirdness From: "Anthony J. Bentley" To: discuss@mdocml.bsd.lv Cc: josh@elsasser.org, james@calminferno.net Content-Type: text/plain; charset=ISO-8859-1 >From sbcl(1): .nr step 1 1 .IP \n[step]. 3 Debugger is disabled, if requested. .IP \n+[step]. Any system initialization file is loaded, unless prohibited. .IP \n+[step]. Any user initialization file is loaded, unless prohibited. .IP \n+[step]. \-\-eval and \-\-load options are processed in the order given. Here is the diff between mandoc and groff output: - -1. - Debugger is disabled, if requested. + 1. Debugger is disabled, if requested. - 0[step]. - Any system initialization file is loaded, unless prohibited. + 2. Any system initialization file is loaded, unless prohibited. - 0[step]. - Any user initialization file is loaded, unless prohibited. + 3. Any user initialization file is loaded, unless prohibited. - 0[step]. - --eval and --load options are processed in the order given. + 4. --eval and --load options are processed in the order given. Here's my superficial analysis of the (distinct?) problems here: - step is initialized to -1 instead of 1. This seems to be due to the extra argument in ".nr step 1 1" (roff(7) only describes .nr as taking two arguments, and if I take off the last one, it gets initialized properly). - step should be incremented but it isn't. From quick testing it seems that the printed value of "\n+[step]" is always 0 no matter what is in step. - In mandoc, there's a newline after the ".IP \n+[step]." gets output. Groff doesn't print one. That's all for now... -- Anthony J. Bentley -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv