From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: ** X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FROM_SUSPICIOUS_NTLD,FROM_SUSPICIOUS_NTLD_FP,T_PDS_OTHER_BAD_TLD, T_SCC_BODY_TEXT_LINE,T_TVD_MIME_EPI autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 29591 invoked from network); 5 Jul 2022 15:15:43 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 5 Jul 2022 15:15:43 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id fe0bd6b4 for ; Tue, 5 Jul 2022 10:15:41 -0500 (EST) Received: from tarta.nabijaczleweli.xyz (139-28-40-42.artus.net.pl [139.28.40.42]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id c6eba8fc for ; Tue, 5 Jul 2022 10:15:39 -0500 (EST) Received: from tarta.nabijaczleweli.xyz (unknown [192.168.1.250]) by tarta.nabijaczleweli.xyz (Postfix) with ESMTPSA id D8D8397A for ; Tue, 5 Jul 2022 17:15:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nabijaczleweli.xyz; s=202205; t=1657034137; bh=lp10m0/e7Mt35TLT1FkiyqJ04GN48sqLNlPoLDI+xrY=; h=Date:From:To:Subject:From; b=N165I2c47sR1+U1zH9opbtaNHfGls0g7U04h3q0c+XQjEluwBODUibS9M7F1/sDlj CyMUWBXXEmRevGW+oU+VPTeduxoCaj57mKFrdDlUWoikjU/DUDYjQIBvl67r6dZ5+a 1CqbODIMWBAkyWmPjfJQDqNjwgKuM8XFYNgeWnfKj7ZFxNUrzSJiLiG88gac18hS6g u5HaQ8RtRXhTMCfELq5pLmz9Mt3C9H8SEPz7J9ewQgY+W01m7ppKpG1aDehnkV8I1Z +A+gx5rtHlezHXecjT5JNM34HCpIgiU/Z3l7vqt1o5jXpDZaf8K0vencvcxvu7WLPq HP0WJnQLnR9eWqjSi6Q+ERRApACVlbfgZiMzBwLwuwzgiHzzZbPJlGaSLU6sjKaENh yix48lb0MitE0J7Xg8W1JvGi0I4TV64MJATxF7ewscrYv5y78YrJiU2o1Vh1E/RlWr fiDrNhKmU5EG4jx7JeblutqM+vI5O8p2nHKiHPy3GRWt3g51DIBtdcDsQtjSohRmTi tJ+pIvLAfXBr7QkxZx8grDXpPSU3OxSAJTjBBBoPFTZAsRTxOomeLuuPlUS9Hkbg/6 o/BpirytUgLihAPku4UjHP+VPkuGtgwqIBI0AZXvc5S09Z2EHe/DnsW+/EkLzqZTZf ftcnfg+GK2fKIF3UTihb8EVE= Date: Tue, 5 Jul 2022 17:15:36 +0200 From: =?utf-8?B?0L3QsNCx?= To: discuss@mandoc.bsd.lv Subject: Strings in mdoc get processed as if inlined Message-ID: <20220705151536.tqmlsw4z4pqraue6@tarta.nabijaczleweli.xyz> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xpjhhb54i7wjaeuy" Content-Disposition: inline User-Agent: NeoMutt/20220429 --xpjhhb54i7wjaeuy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Original snippet: -- >8 -- =2EDd =2EDt DU 1 =2EOs =2ESh NAME =2ENm du =2ENd disk usage =2ESh OPTIONS =2EBl -tag -compact =2EIt Fl -time-style Ns =3D Ns Cm iso Equivalent to =2Eds qq \&" =2EFl -time-style Ns =3D Ns Cm + Ns Li "\*(qq%F\*(qq\ \ \ \ \ \ \ \ \ " =2EAr ( YYYY Ns Cm - Ns Ar MM Ns Cm - Ns Ar DD \(em the =2ESt -iso8601 date format). =2EIt Fl -time-style Ns =3D Ns Cm long-iso Equivalent to =2EFl -time-style Ns =3D Ns Cm + Ns Li "\*(qq%F\ %R\*(qq\ \ \ \ \ \ " =2EPq Ar YYYY Ns Cm - Ns Ar MM Ns Cm - Ns Ar DD HH Ns Cm \&: Ns Ar MM . =2EIt Fl -time-style Ns =3D Ns Cm full-iso Equivalent to =2EFl -time-style Ns =3D Ns Cm + Ns Li "\*(qq%F\ %T.%N\ %z\*(qq" =2EPq Ar YYYY Ns Cm - Ns Ar MM Ns Cm - Ns Ar DD HH Ns Cm \&: Ns Ar MM Ns Cm= \&: Ns Ar MM Ns Cm \&. Ns Ar NSNSNSNSN Cm \(+- Ns Ar TZTZ . =2EIt Fl -time-style Ns =3D Ns Cm + Ns Ar date-format =2EEl -- >8 -- groff renders this, as expected, as=20 -- >8 -- --time-style=3Diso Equivalent to --time-style=3D+"%F" (YYYY-MM-DD =E2=80= =94 the ISO 8601 date format). --time-style=3Dlong-iso Equivalent to --time-style=3D+"%F %R" (YYYY-MM-DD HH:MM). --time-style=3Dfull-iso Equivalent to --time-style=3D+"%F %T.%N %z" (YYYY-MM-DD HH:MM:= MM.NSNSNSNSN =C2=B1TZTZ). --time-style=3D+date-format -- >8 -- mandoc trunk (as of fifteen minutes ago) renders this as -- >8 -- -=08--=08-t=08ti=08im=08me=08e-=08-s=08st=08ty=08yl=08le=08e=3Di=08is= =08so=08o Equivalent to -=08--=08-t=08ti=08im=08me=08e-=08-s=08st=08ty= =08yl=08le=08e=3D+=08+ %F"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0" (_=08Y_=08Y_=08Y_=08Y-=08-_=08M_=08M-=08-_=08D_=08D =E2=80=94 the I= SO 8601 date format). -=08--=08-t=08ti=08im=08me=08e-=08-s=08st=08ty=08yl=08le=08e=3Dl=08lo= =08on=08ng=08g-=08-i=08is=08so=08o Equivalent to -=08--=08-t=08ti=08im=08me=08e-=08-s=08st=08ty= =08yl=08le=08e=3D+=08+ %F=C2=A0%R"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0" (_= =08Y_=08Y_=08Y_=08Y-=08-_=08M_=08M-=08-_=08D_=08D _=08H_=08H:=08:_=08M_=08M= ). -=08--=08-t=08ti=08im=08me=08e-=08-s=08st=08ty=08yl=08le=08e=3Df=08fu= =08ul=08ll=08l-=08-i=08is=08so=08o Equivalent to -=08--=08-t=08ti=08im=08me=08e-=08-s=08st=08ty= =08yl=08le=08e=3D+=08+ %F=C2=A0%T.%N=C2=A0%z"" (_=08Y_=08Y_=08Y_=08Y-=08-_= =08M_=08M-=08-_=08D_=08D _=08H_=08H:=08:_=08M_=08M:=08:_=08M_=08M.=08._=08N_=08S_=08N_= =08S_=08N_=08S_=08N_=08S_=08N =C2=B1=08=C2=B1_=08T_=08Z_=08T_=08Z). -=08--=08-t=08ti=08im=08me=08e-=08-s=08st=08ty=08yl=08le=08e=3D+=08+_= =08d_=08a_=08t_=08e_=08-_=08f_=08o_=08r_=08m_=08a_=08t -- >8 -- Simplified: -- >8 -- =2Eds qq \&" =2ESy "\*(qq a \*(qq b" -- >8 -- groff renders this as: -- >8 -- " a " b -- >8 -- (single argument containing " a " b) but mandoc trunk as: -- >8 -- a=08a "=08" b=08b"=08" -- >8 -- Inlining the string as -- >8 -- =2ESy "\&" a \&" b" -- >8 -- (three arguments, one with just \&, the second a, the third " b") makes groff output the same thing as mandoc. This is non-critical for me, since I was just trying to come up with a less annoying spelling for this, but it's nevertheless a groff incompatibility. Best, =D0=BD=D0=B0=D0=B1 --xpjhhb54i7wjaeuy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEfWlHToQCjFzAxEFjvP0LAY0mWPEFAmLEVZUACgkQvP0LAY0m WPFgmBAAqfdJpfNAqp16QsH5LCekiS7Z0nQqaSCwVmRdtYGOCvdkn4D/oIfwTwU2 kcG0kq53gUXfIZTmJ9aYkP6Oq/pSQ+PpYkLYWLDIP5iqFmy1pyfzfdd7ktu9sd3V t/qIZwp/ZexC+8fZ9ZaiVDw3oEg2RukPkrdoUwb7UZz5kS5ilunra7n+ny5Jmbto sYy7mMoh9DL3vU3n/X2UhI2Fs1LnETDGTQsEaNFRYx6VxOvj0Azr7avyMGXyVTis SXs087P3tfx1O+xXS8J6kKZpu1rjGoG1uqJKCx/YvFbU6RahX9l+jFg3Fismf/UU LQozY5QMfXEwpwdgkRsHiMg6HuBbyRMLSnlrJYhl916uqeCz0hTLmUGSHZUHtTNR XfEjwSf59J9gmqsva3vaQE7fvOh0lXMcuwGacrlcukbLIMUNh7b8klcilNo2vmsz bYHv181e62s3/uZIEA9DCuQZ6az1m4M1GPGsBvjD4Iuz0sumNGjojFezrncUcMQl kLLAIBwlK4whhBu9EkAX+vsTIMWI0/CinjCND/1P+CiluJyeWKZ0sSfYI4E1knpH IicdPs49/yW77LS8ZBkZLsAV+cnduWu44pNOSRnvfASAb9iV674EuSxUDz7sEvaQ jl8UKVpCNU5DxjjRIsMW6kcK7DlXZuMeEuhooxVM/YJK6xhMw7c= =NOB1 -----END PGP SIGNATURE----- --xpjhhb54i7wjaeuy-- -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv