aboutsummaryrefslogtreecommitdiff
path: root/share/examples/mdoc/example.4
Commit message (Collapse)AuthorAgeFilesLines
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* Remove misleading macros from -width argumentsMateusz Piotrowski2020-12-281-3/+1
| | | | | | Also, remove $FreeBSD$ tag from manual page examples. MFC after: 1 week
* Remove macros from the width arguments passed to Bl macrosMateusz Piotrowski2020-11-121-1/+1
| | | | | | | | | I'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 it there for now. Notes: svn path=/head/; revision=367621
* Add SPDX tags to example manual pages and POSIX copyright.Mateusz Piotrowski2018-07-201-0/+3
| | | | | | | | | Reviewed by: eadler Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D14958 Notes: svn path=/head/; revision=336546
* Remove 'All Rights Reserved' from the collection copyright and templates.Warner Losh2018-05-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original Berkeley Software Distributions were made in the 1980's and 1990's. At that time, the Buenos Ares Convention of 1910 was in force in most of the countries in the Americas. It required an affirmative statement of rights reservation, typically using 'All Rights Reserved.' The Regents included this phrase in their copyright notices to invoke this treaty to ensure maximal copyright protection. In the 1990's, Latin America coutries ratifeid the Berne Convention on copyrights which prohibited them from requiring an affirmative statement to reserve the rights. When Nicaragua ratified in 2000, the Buenos Ares Convention of 1910 was effectively repealed. This made all the 'All Rights Reserved' phrases obsolete and legal deadweight most of the time, and certainly in the cases removed here. Since it's no longer required, and is in fact meaningless, core has decided to dropped it from the project's collection copyright and sample templates. It encourages other rights holders to do the same after consultation with their legal department. More see https://en.wikipedia.org/wiki/Buenos_Aires_Convention for more information. Approved by: core@ (emaste@, jhb@) Differential Review: https://reviews.freebsd.org/D15264 Notes: svn path=/head/; revision=333391
* Join excessive split lines.Christian Brueffer2015-09-301-5/+3
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=288419
* use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* Sync example file with mdoc changes made in rev 235450.Joel Dahl2012-06-131-2/+0
| | | | Notes: svn path=/head/; revision=237018
* Revert my previous change as it does not seem to be entirely correct andDaniel Gerzo2006-09-271-6/+8
| | | | | | | popular. Notes: svn path=/head/; revision=162712
* Remove second person from the sentece and rephrase a bit.Daniel Gerzo2006-09-261-8/+6
| | | | | | | Approved by: trhodes (mentor), keramida (mentor) Notes: svn path=/head/; revision=162670
* Fix wording to what I intended originally.Ruslan Ermilov2006-09-181-4/+5
| | | | Notes: svn path=/head/; revision=162403
* - Avoid using second person.Ruslan Ermilov2006-09-181-4/+7
| | | | | | | | - Demonstrate how .Nm can be used without the side effect of causing a line break in the SYNOPSIS section. Notes: svn path=/head/; revision=162396
* Make this example more real world usable: When the manpage first appearedChristian Brueffer2006-05-201-1/+1
| | | | | | | | | | is not interesting, when the driver appeared is. Most people who use this example leave the manpage appearance date in and the driver date out. MFC after: 3 days Notes: svn path=/head/; revision=158763
* Add a standard boilerplate to the SYNOPSIS section that mentions howChristian Brueffer2006-04-011-1/+13
| | | | | | | | | to load a kernel module. MFC after: 3 days Notes: svn path=/head/; revision=157356
* Join two lines.Christian Brueffer2005-05-071-2/+1
| | | | Notes: svn path=/head/; revision=145982
* Cross-reference the newly added example.9Giorgos Keramidas2005-01-121-1/+2
| | | | Notes: svn path=/head/; revision=140135
* Add a HARDWARE section to the example section 4 manual page.Simon L. B. Nielsen2004-08-181-1/+12
| | | | | | | | Reviewed by: ru MFC after: 3 days Notes: svn path=/head/; revision=133944
* Removed the comment that required all FreeBSD manpagesRuslan Ermilov2001-07-181-10/+7
| | | | | | | | | | | | | | | | to have the $FreeBSD$ keyword, as this is now enforced by the CVSROOT/commit_prep.pl script. Fold multi-word macro arguments into a single argument by putting the surrounding double quotes - this speeds up the -mdoc processing drastically (of course if used systematically). Use the new features of -mdoc: exact -width specifiers, .In macro as an ``.Fd #include'' replacement. Notes: svn path=/head/; revision=79857
* Remove an example of bad sentence breaking style.Sheldon Hearn2001-07-181-5/+4
| | | | Notes: svn path=/head/; revision=79852
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79757
* The semantics of the .Os call has been changed. For CURRENT,Ruslan Ermilov2001-04-231-4/+1
| | | | | | | this currently implies the default argument of "FreeBSD 5.0". Notes: svn path=/head/; revision=75869
* mdoc.samples(7) is superseded by mdoc(7).Ruslan Ermilov2001-04-171-2/+1
| | | | Notes: svn path=/head/; revision=75595
* We don't use the "pseudo-device" configuration option any longer,Mike Pritchard2001-04-051-1/+6
| | | | | | | | | | | | | so update the example to use the correct definition. Add an example for documenting kernel compile options, along with a small example of how to reference them in the main text of the man page (I.e. the .Dv macro). Inspired-by: a brief exchange I saw in in the commit messages mail Notes: svn path=/head/; revision=75228
* mdoc(7) police: removed history info from the .Os FreeBSD call.Ruslan Ermilov2000-12-141-1/+1
| | | | Notes: svn path=/head/; revision=70015
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68960
* Make share/examples/mdoc and share/misc/mdoc.template internallyMike Pritchard1999-12-081-6/+6
| | | | | | | | | consistent, and consistent with mdoc(7) and mdoc.samples(7). PR: doc/15352, doc/15353 Notes: svn path=/head/; revision=54340
* Add $FreeBSD$ lines to these example man pages, along with a noteMike Pritchard1999-08-281-1/+4
| | | | | | | | that says all man pages should contain a FreeBSD revision control id to make it easier for translation teams. Notes: svn path=/head/; revision=50535
* .Sh AUTHOR -> .Sh AUTHORS.Philippe Charnier1998-04-011-2/+2
| | | | Notes: svn path=/head/; revision=34984
* Use the .An macro in the AUTHOR section.Mike Pritchard1997-03-201-2/+2
| | | | Notes: svn path=/head/; revision=24066
* Synced with the C example copyright. Cosmetic except for removingBruce Evans1997-02-281-6/+4
| | | | | | | clause 3, which was removed on 1996/08/03 in the C example. Notes: svn path=/head/; revision=23199
* These will appear in 2.2, not 3.0.Mike Pritchard1997-02-171-2/+2
| | | | | | | Pointed out by: wosch Notes: svn path=/head/; revision=22853
* some stylistic changes... "you name here" and "you name" to "your name"John-Mark Gurney1997-02-141-2/+2
| | | | | | | 2.2 Candidate Notes: svn path=/head/; revision=22698
* Update the copyright notices to match our bsd-copyright example.Mike Pritchard1997-01-091-5/+1
| | | | Notes: svn path=/head/; revision=21453
* Add some real example diagnostics to example.[14]Mike Pritchard1997-01-091-2/+23
| | | | | | | | | | | | | | | Add all of the possible errno's to example.3. Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros in the various HISTORY sections. Add some .Rs/.Re (used for referencing things other than man pages) in the SEE ALSO sections. Suggested by: wollman Notes: svn path=/head/; revision=21449
* Moved these from /usr/share/misc/mdoc to /usr/share/examples/mdoc,Mike Pritchard1997-01-021-0/+85
since it seemed like a better place, and the makefiles for /usr/share/examples didn't need to be fussed with. The old stuff can be removed from the Attic. Notes: svn path=/head/; revision=21235