Remove $FreeBSD$: two-line nroff patternRemove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
show more ...
Remove misleading macros from -width argumentsAlso, remove $FreeBSD$ tag from manual page examples.MFC after: 1 week
Remove macros from the width arguments passed to Bl macrosI've not removed the Er macro from one of the lists in example.9, however,because it seems to be doing some special kind of magic. Let's l
Remove macros from the width arguments passed to Bl macrosI've not removed the Er macro from one of the lists in example.9, however,because it seems to be doing some special kind of magic. Let's leave itthere for now.
Add SPDX tags to example manual pages and POSIX copyright.Reviewed by: eadlerApproved by: mat (mentor)Differential Revision: https://reviews.freebsd.org/D14958
Remove 'All Rights Reserved' from the collection copyright and templates.The original Berkeley Software Distributions were made in the 1980'sand 1990's. At that time, the Buenos Ares Convention of
Remove 'All Rights Reserved' from the collection copyright and templates.The original Berkeley Software Distributions were made in the 1980'sand 1990's. At that time, the Buenos Ares Convention of 1910 was inforce in most of the countries in the Americas. It required anaffirmative statement of rights reservation, typically using 'AllRights Reserved.' The Regents included this phrase in their copyrightnotices to invoke this treaty to ensure maximal copyright protection.In the 1990's, Latin America coutries ratifeid the Berne Convention oncopyrights which prohibited them from requiring an affirmativestatement to reserve the rights. When Nicaragua ratified in 2000, theBuenos Ares Convention of 1910 was effectively repealed. This made allthe 'All Rights Reserved' phrases obsolete and legal deadweight mostof the time, and certainly in the cases removed here.Since it's no longer required, and is in fact meaningless, core hasdecided to dropped it from the project's collection copyright andsample templates. It encourages other rights holders to do the sameafter consultation with their legal department.More see https://en.wikipedia.org/wiki/Buenos_Aires_Convention formore information.Approved by: core@ (emaste@, jhb@)Differential Review: https://reviews.freebsd.org/D15264
Join excessive split lines.MFC after: 1 week
use .Mt to mark up email addresses consistently (part1)PR: 191174Submitted by: Franco Fichtner <[email protected]>
Sync example file with mdoc changes made in rev 235450.
Revert my previous change as it does not seem to be entirely correct andpopular.
- Use existing functions mtx_lock() and mtx_unlock().- Change variable name to 'error', as this is what is mostly used for functions that return an error.- Add mutex(9) to the SEE ALSO section.-
- Use existing functions mtx_lock() and mtx_unlock().- Change variable name to 'error', as this is what is mostly used for functions that return an error.- Add mutex(9) to the SEE ALSO section.- Bump the date.I don't really like the example code. I'd prefer symmetry where possible, eg. mtx_lock(&example_lock); error = example(NULL, EXAMPLE_ONE); mtx_unlock(&example_lock); if (error != 0) return (error);But I'll leave it as it is for now.Reviewed by: simon
Remove second person from the sentece and rephrase a bit.Approved by: trhodes (mentor), keramida (mentor)
Fix wording to what I intended originally.
- Avoid using second person.- Demonstrate how .Nm can be used without the side effect of causing a line break in the SYNOPSIS section.
Make this example more real world usable: When the manpage first appearedis not interesting, when the driver appeared is. Most people who use thisexample leave the manpage appearance date in and
Make this example more real world usable: When the manpage first appearedis not interesting, when the driver appeared is. Most people who use thisexample leave the manpage appearance date in and the driver date out.MFC after: 3 days
Add a standard boilerplate to the SYNOPSIS section that mentions howto load a kernel module.MFC after: 3 days
Join two lines.
Added the EXIT STATUS section.
Move the LOCKING section to before the EXAMPLES section.Make example locking calls in the EXAMPLES section.Reviewed by: keramida
A few more mdoc fixes I missed in the suggestions of Ruslan.
Cross-reference the newly added example.9
Add a sample manpage for section 9.Suggested by: simonReviewed by: ru
Forgot to submit a fixed version of this script to Simon.
Add support files for using text from the POSIX specification inFreeBSD manual pages:- POSIX-copyright contains copyright text to be used in manual pages which has POSIX text inserted.- deshall
Add support files for using text from the POSIX specification inFreeBSD manual pages:- POSIX-copyright contains copyright text to be used in manual pages which has POSIX text inserted.- deshallify.sh is a shell script which removes many of the ``shall'' statements from the POSIX text and therefore making the text more readable.Real work to make this happen by: nectar, ru
123