Re: style(9) questions about Copyright comment

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 01 Aug 2026 21:43:08 UTC
⁹

On Sat, Aug 1, 2026, 12:29 PM Steve Kargl <kargls@comcast.net> wrote:

> In reading style(9), it states the comment with the
> the Copyright should appear as
>
> /*
>   * Copyright (c) 1984-2025 John Q. Public
>   *
>   * SPDX-License-Identifier: BSD-2-Clause
>   */
>
> which appears contrary with regards to practice.  The
> opening line for a Copyright comment contains a minus
> sign, i.e.,
>
> /*-
>   * Copyright (c) 1984-2025 John Q. Public
>   *
>   * SPDX-License-Identifier: BSD-2-Clause
>   */
>
> Should style(9) be fixed?
>

No. Both orders are common.

I just updated and consolidated out copyright and licensing stuff too.

https://docs.freebsd.org/en/articles/license-guide/

I think things are consistent now, but if I've missed anything please let
me know.

Warner

-- 
> steve
>
>