Re: git: 759ce9a2b38e - main - ps.1: Fix broken comment line
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jul 2026 09:56:22 UTC
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