Date: Mon, 06 Jul 2026 11:56:22 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Robert Clausecker <fuz@fuz.su> Cc: Olivier Certner <olce@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Artem Bunichev <temcbun@gmail.com> Subject: Re: git: 759ce9a2b38e - main - ps.1: Fix broken comment line Message-ID: <86cxx0786x.fsf@ltc.des.dev> In-Reply-To: <akt2I8k_NxjmmdbH@fuz.su> (Robert Clausecker's message of "Mon, 6 Jul 2026 11:32:19 %2B0200") References: <6a4ab8b9.42091.46ef79a8@gitrepo.freebsd.org> <86jyr879kg.fsf@ltc.des.dev> <akt2I8k_NxjmmdbH@fuz.su>
index | next in thread | previous in thread | raw e-mail
Robert Clausecker <fuz@fuz.su> writes:
> Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> > Olivier Certner <olce@FreeBSD.org> writes:
> > > While here, remove the long-unused dash in the first line.
> > It's not “long-unused”, it's there to prevent indent(1) from
> > reformatting the comment.
> The .\"- convention was added by imp for automatic license analysis.
It was already present in CSRG sources (admittedly not in ps.1, but
you'll find it in e.g. ps.c). See also indent(1):
‘Box’ comments. The indent utility assumes that any comment with a dash
or star immediately after the start of comment (that is, `/*-' or `/**')
is a comment surrounded by a box of stars. Each line of such a comment
is left unchanged, except that its indentation may be adjusted to account
for the change in indentation of the first line of the comment.
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86cxx0786x.fsf>
