aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/books/fdp-primer/manual-pages/_index.po
blob: 07b83863d782a9f3dbf2024aa2a921c9461630ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR The FreeBSD Project
# This file is distributed under the same license as the FreeBSD Documentation package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: FreeBSD Documentation VERSION\n"
"POT-Creation-Date: 2023-09-09 18:12-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: YAML Front Matter: description
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:1
#, no-wrap
msgid "How to work with the FreeBSD Manual Pages"
msgstr ""

#. type: YAML Front Matter: title
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:1
#, no-wrap
msgid "Chapter 11. Manual Pages"
msgstr ""

#. type: Title =
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:13
#, no-wrap
msgid "Manual Pages"
msgstr ""

#. type: Title ==
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:51
#, no-wrap
msgid "Introduction"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:55
msgid ""
"_Manual pages_, commonly shortened to _man pages_, were conceived as readily-"
"available reminders for command syntax, device driver details, or "
"configuration file formats.  They have become an extremely valuable quick-"
"reference from the command line for users, system administrators, and "
"programmers."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:57
msgid ""
"Although intended as reference material rather than tutorials, the EXAMPLES "
"sections of manual pages often provide detailed use case."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:61
msgid ""
"Manual pages are generally shown interactively by the man:man[1] command.  "
"When the user types `man ls`, a search is performed for a manual page "
"matching `ls`.  The first matching result is displayed."
msgstr ""

#. type: Title ==
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:63
#, no-wrap
msgid "Sections"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:67
msgid ""
"Manual pages are grouped into _sections_.  Each section contains manual "
"pages for a specific category of documentation:"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:72
#, no-wrap
msgid "Section Number"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:75
#, no-wrap
msgid "Category"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:76
#, no-wrap
msgid "1"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:78
#, no-wrap
msgid "General Commands"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:79
#, no-wrap
msgid "2"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:81
#, no-wrap
msgid "System Calls"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:82
#, no-wrap
msgid "3"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:84
#, no-wrap
msgid "Library Functions"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:85
#, no-wrap
msgid "4"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:87
#, no-wrap
msgid "Kernel Interfaces"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:88
#, no-wrap
msgid "5"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:90
#, no-wrap
msgid "File Formats"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:91
#, no-wrap
msgid "6"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:93
#, no-wrap
msgid "Games"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:94
#, no-wrap
msgid "7"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:96
#, no-wrap
msgid "Miscellaneous"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:97
#, no-wrap
msgid "8"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:99
#, no-wrap
msgid "System Manager"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:100
#, no-wrap
msgid "9"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:101
#, no-wrap
msgid "Kernel Developer"
msgstr ""

#. type: Title ==
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:104
#, no-wrap
msgid "Markup"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:112
msgid ""
"Various markup forms and rendering programs have been used for manual "
"pages.  FreeBSD has used man:groff[7] and the newer man:mandoc[1].  Most "
"existing FreeBSD manual pages, and all new ones, use the man:mdoc[7] form of "
"markup.  This is a simple line-based markup that is reasonably expressive.  "
"It is mostly semantic: parts of text are marked up for what they are, rather "
"than for how they should appear when rendered.  There is some appearance-"
"based markup which is usually best avoided."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:115
msgid ""
"Manual page source is usually interpreted and displayed to the screen "
"interactively.  The source files can be ordinary text files or compressed "
"with man:gzip[1] to save space."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:118
msgid ""
"Manual pages can also be rendered to other formats, including PostScript for "
"printing or PDF generation.  See man:man[1]."
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:120
#, no-wrap
msgid "Manual Page Sections"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:125
msgid ""
"Manual pages are composed of several standard sections.  Each section has a "
"title in upper case, and the sections for a particular type of manual page "
"appear in a specific order.  For a category 1 General Command manual page, "
"the sections are:"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:130
#, no-wrap
msgid "Section Name"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:133
#, no-wrap
msgid "Description"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:134
#, no-wrap
msgid "NAME"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:136
#, no-wrap
msgid "Name of the command"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:137
#, no-wrap
msgid "SYNOPSIS"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:139
#, no-wrap
msgid "Format of options and arguments"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:140
#, no-wrap
msgid "DESCRIPTION"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:142
#, no-wrap
msgid "Description of purpose and usage"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:143
#, no-wrap
msgid "ENVIRONMENT"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:145
#, no-wrap
msgid "Environment settings that affect operation"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:146
#, no-wrap
msgid "EXIT STATUS"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:148
#, no-wrap
msgid "Error codes returned on exit"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:149
#, no-wrap
msgid "EXAMPLES"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:151
#, no-wrap
msgid "Examples of usage"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:152
#, no-wrap
msgid "COMPATIBILITY"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:154
#, no-wrap
msgid "Compatibility with other implementations"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:155
#, no-wrap
msgid "SEE ALSO"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:157
#, no-wrap
msgid "Cross-reference to related manual pages"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:158
#, no-wrap
msgid "STANDARDS"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:160
#, no-wrap
msgid "Compatibility with standards like POSIX"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:161
#, no-wrap
msgid "HISTORY"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:163
#, no-wrap
msgid "History of implementation"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:164
#, no-wrap
msgid "BUGS"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:166
#, no-wrap
msgid "Known bugs"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:167
#, no-wrap
msgid "AUTHORS"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:168
#, no-wrap
msgid "People who created the command or wrote the manual page."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:172
msgid ""
"Some sections are optional, and the combination of sections for a specific "
"type of manual page vary.  Examples of the most common types are shown later "
"in this chapter."
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:174
#, no-wrap
msgid "Macros"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:179
msgid ""
"man:mdoc[7] markup is based on _macros_.  Lines that begin with a dot "
"contain macro commands, each two or three letters long.  For example, "
"consider this portion of the man:ls[1] manual page:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:208
#, no-wrap
msgid ""
".Dd December 1, 2015  <.>\n"
".Dt LS 1\n"
".Sh NAME  <.>\n"
".Nm ls\n"
".Nd list directory contents\n"
".Sh SYNOPSIS  <.>\n"
".Nm  <.>\n"
".Op Fl -libxo  <.>\n"
".Op Fl ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1,  <.>\n"
".Op Fl D Ar format  <.>\n"
".Op Ar  <.>\n"
".Sh DESCRIPTION  <.>\n"
"For each operand that names a\n"
".Ar file\n"
"of a type other than\n"
"directory,\n"
".Nm\n"
"displays its name as well as any requested,\n"
"associated information.\n"
"For each operand that names a\n"
".Ar file\n"
"of type directory,\n"
".Nm\n"
"displays the names of files contained\n"
"within that directory, as well as any requested, associated\n"
"information.\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:211
msgid "A _Document date_ and _Document title_ are defined."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:213
msgid ""
"A _Section header_ for the NAME section is defined.  Then the _Name_ of the "
"command and a one-line _Name description_ are defined."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:215
msgid ""
"The SYNOPSIS section begins.  This section describes the command-line "
"options and arguments accepted."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:216
msgid ""
"_Name_ (`.Nm`) has already been defined, and repeating it here just displays "
"the defined value in the text."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:218
msgid ""
"An _Optional_ _Flag_ called `-libxo` is shown.  The `Fl` macro adds a dash "
"to the beginning of flags, so this appears in the manual page as `--libxo`."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:219
msgid "A long list of optional single-character flags are shown."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:223
msgid ""
"An optional `-D` flag is defined.  If the `-D` flag is given, it must be "
"followed by an _Argument_.  The argument is a _format_, a string that tells "
"man:ls[1] what to display and how to display it.  Details on the format "
"string are given later in the manual page."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:225
msgid ""
"A final optional argument is defined.  Since no name is specified for the "
"argument, the default of `file ...` is used."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:226
msgid "The _Section header_ for the DESCRIPTION section is defined."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:228
msgid ""
"When rendered with the command `man ls`, the result displayed on the screen "
"looks like this:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:232
#, no-wrap
msgid "LS(1)                   FreeBSD General Commands Manual                  LS(1)\n"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:235
#, no-wrap
msgid ""
"NAME\n"
"     ls - list directory contents\n"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:239
#, no-wrap
msgid ""
"SYNOPSIS\n"
"     ls [--libxo] [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwxy1,] [-D format]\n"
"        [file ...]\n"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:246
#, no-wrap
msgid ""
"DESCRIPTION\n"
"     For each operand that names a file of a type other than directory, ls\n"
"     displays its name as well as any requested, associated information.  For\n"
"     each operand that names a file of type directory, ls displays the names\n"
"     of files contained within that directory, as well as any requested,\n"
"     associated information.\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:249
msgid "Optional values are shown inside square brackets."
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:251
#, no-wrap
msgid "Markup Guidelines"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:255
msgid ""
"The man:mdoc[7] markup language is not very strict.  For clarity and "
"consistency, the FreeBSD Documentation project adds some additional style "
"guidelines:"
msgstr ""

#. type: Labeled list
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:256
#, no-wrap
msgid "Only the first letter of macros is upper case"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:258
msgid ""
"Always use upper case for the first letter of a macro and lower case for the "
"remaining letters."
msgstr ""

#. type: Labeled list
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:259
#, no-wrap
msgid "Begin new sentences on new lines"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:261
msgid ""
"Start a new sentence on a new line, do not begin it on the same line as an "
"existing sentence."
msgstr ""

#. type: Labeled list
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:262
#, no-wrap
msgid "Update `.Dd` when making non-trivial changes to a manual page"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:266
msgid ""
"The _Document date_ informs the reader about the last time the manual page "
"was updated.  It is important to update whenever non-trivial changes are "
"made to the manual pages.  Trivial changes like spelling or punctuation "
"fixes that do not affect usage can be made without updating `.Dd`."
msgstr ""

#. type: Labeled list
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:267
#, no-wrap
msgid "Give examples"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:272
msgid ""
"Show the reader examples when possible.  Even trivial examples are valuable, "
"because what is trivial to the writer is not necessarily trivial to the "
"reader.  Three examples are a good goal.  A trivial example shows the "
"minimal requirements, a serious example shows actual use, and an in-depth "
"example demonstrates unusual or non-obvious functionality."
msgstr ""

#. type: Labeled list
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:273
#, no-wrap
msgid "Include the BSD license"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:276
msgid ""
"Include the BSD license on new manual pages.  The preferred license is "
"available from the extref:{committers-guide}[Committer's Guide]."
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:278
#, no-wrap
msgid "Markup Tricks"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:281
msgid "Add a space before punctuation on a line with macros. Example:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:289
#, no-wrap
msgid ""
".Sh SEE ALSO\n"
".Xr geom 4 ,\n"
".Xr boot0cfg 8 ,\n"
".Xr geom 8 ,\n"
".Xr gptboot 8\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:295
msgid ""
"Note how the commas at the end of the `.Xr` lines have been placed after a "
"space.  The `.Xr` macro expects two parameters to follow it, the name of an "
"external manual page, and a section number.  The space separates the "
"punctuation from the section number.  Without the space, the external links "
"would incorrectly point to section `4,` or `8,`."
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:297
#, no-wrap
msgid "Important Macros"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:302
msgid ""
"Some very common macros will be shown here.  For more usage examples, see "
"man:mdoc[7], man:groff_mdoc[7], or search for actual use in [.filename]#/usr/"
"share/man/man*# directories.  For example, to search for examples of the `."
"Bd` _Begin display_ macro:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:306
#, no-wrap
msgid "% find /usr/share/man/man* | xargs zgrep '.Bd'\n"
msgstr ""

#. type: Title ====
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:309
#, no-wrap
msgid "Organizational Macros"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:312
msgid "Some macros are used to define logical blocks of a manual page."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:317
#, no-wrap
msgid "Organizational Macro"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:320
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:356
#, no-wrap
msgid "Use"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:321
#, no-wrap
msgid "`.Sh`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:325
#, no-wrap
msgid ""
"Section header.\n"
"Followed by the name of the section, traditionally all upper case.\n"
"Think of these as chapter titles."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:326
#, no-wrap
msgid "`.Ss`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:330
#, no-wrap
msgid ""
"Subsection header.\n"
"Followed by the name of the subsection.\n"
"Used to divide a `.Sh` section into subsections."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:331
#, no-wrap
msgid "`.Bl`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:333
#, no-wrap
msgid "Begin list. Start a list of items."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:334
#, no-wrap
msgid "`.El`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:336
#, no-wrap
msgid "End a list."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:337
#, no-wrap
msgid "`.Bd`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:340
#, no-wrap
msgid ""
"Begin display.\n"
"Begin a special area of text, like an indented area."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:341
#, no-wrap
msgid "`.Ed`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:342
#, no-wrap
msgid "End display."
msgstr ""

#. type: Title ====
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:345
#, no-wrap
msgid "Inline Macros"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:348
msgid "Many macros are used to mark up inline text."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:353
#, no-wrap
msgid "Inline Macro"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:357
#, no-wrap
msgid "`.Nm`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:360
#, no-wrap
msgid ""
"Name.\n"
"Called with a name as a parameter on the first use, then used later without the parameter to display the name that has already been defined."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:361
#, no-wrap
msgid "`.Pa`"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:363
#, no-wrap
msgid ""
"Path to a file.\n"
"Used to mark up filenames and directory paths."
msgstr ""

#. type: Title ==
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:366
#, no-wrap
msgid "Sample Manual Page Structures"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:369
msgid ""
"This section shows minimal desired man page contents for several common "
"categories of manual pages."
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:371
#, no-wrap
msgid "Section 1 or 8 Command"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:374
msgid "The preferred basic structure for a section 1 or 8 command:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:395
#, no-wrap
msgid ""
".Dd August 25, 2017\n"
".Dt EXAMPLECMD 8\n"
".Os\n"
".Sh NAME\n"
".Nm examplecmd\n"
".Nd \"command to demonstrate section 1 and 8 man pages\"\n"
".Sh SYNOPSIS\n"
".Nm\n"
".Op Fl v\n"
".Sh DESCRIPTION\n"
"The\n"
".Nm\n"
"utility does nothing except demonstrate a trivial but complete\n"
"manual page for a section 1 or 8 command.\n"
".Sh SEE ALSO\n"
".Xr exampleconf 5\n"
".Sh AUTHORS\n"
".An Firstname Lastname Aq Mt flastname@example.com\n"
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:398
#, no-wrap
msgid "Section 4 Device Driver"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:401
msgid "The preferred basic structure for a section 4 device driver:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:457
#, no-wrap
msgid ""
".Dd August 25, 2017\n"
".Dt EXAMPLEDRIVER 4\n"
".Os\n"
".Sh NAME\n"
".Nm exampledriver\n"
".Nd \"driver to demonstrate section 4 man pages\"\n"
".Sh SYNOPSIS\n"
"To compile this driver into the kernel, add this line to the\n"
"kernel configuration file:\n"
".Bd -ragged -offset indent\n"
".Cd \"device exampledriver\"\n"
".Ed\n"
".Pp\n"
"To load the driver as a module at boot, add this line to\n"
".Xr loader.conf 5 :\n"
".Bd -literal -offset indent\n"
"exampledriver_load=\"YES\"\n"
".Ed\n"
".Sh DESCRIPTION\n"
"The\n"
".Nm\n"
"driver provides an opportunity to show a skeleton or template\n"
"file for section 4 manual pages.\n"
".Sh HARDWARE\n"
"The\n"
".Nm\n"
"driver supports these cards from the aptly-named Nonexistent\n"
"Technologies:\n"
".Pp\n"
".Bl -bullet -compact\n"
".It\n"
"NT X149.2 (single and dual port)\n"
".It\n"
"NT X149.8 (single port)\n"
".El\n"
".Sh DIAGNOSTICS\n"
".Bl -diag\n"
".It \"flashing green light\"\n"
"Something bad happened.\n"
".It \"flashing red light\"\n"
"Something really bad happened.\n"
".It \"solid black light\"\n"
"Power cord is unplugged.\n"
".El\n"
".Sh SEE ALSO\n"
".Xr example 8\n"
".Sh HISTORY\n"
"The\n"
".Nm\n"
"device driver first appeared in\n"
".Fx 49.2 .\n"
".Sh AUTHORS\n"
".An Firstname Lastname Aq Mt flastname@example.com\n"
msgstr ""

#. type: Title ===
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:460
#, no-wrap
msgid "Section 5 Configuration File"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:463
msgid "The preferred basic structure for a section 5 configuration file:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:479
#, no-wrap
msgid ""
".Dd August 25, 2017\n"
".Dt EXAMPLECONF 5\n"
".Os\n"
".Sh NAME\n"
".Nm example.conf\n"
".Nd \"config file to demonstrate section 5 man pages\"\n"
".Sh DESCRIPTION\n"
".Nm\n"
"is an example configuration file.\n"
".Sh SEE ALSO\n"
".Xr example 8\n"
".Sh AUTHORS\n"
".An Firstname Lastname Aq Mt flastname@example.com\n"
msgstr ""

#. type: Title ==
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:482
#, no-wrap
msgid "Testing"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:489
msgid ""
"Testing a new manual page can be challenging.  Fortunately there are some "
"tools that can assist in the task.  Some of them, like man:man[1], do not "
"look in the current directory.  It is a good idea to prefix the filename "
"with `./` if the new manual page is in the current directory.  An absolute "
"path can also be used."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:491
msgid "Use man:mandoc[1]'s linter to check for parsing errors:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:495
#, no-wrap
msgid "% mandoc -T lint ./mynewmanpage.8\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:498
msgid "Use package:textproc/igor[] to proofread the manual page:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:502
#, no-wrap
msgid "% igor ./mynewmanpage.8\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:507
msgid ""
"Another useful tool is package:textproc/vale[].  It does not support the man:"
"mdoc[7] syntax but the rendered manual page can be read from standard input:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:511
#, no-wrap
msgid "% man ls | vale\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:515
msgid ""
"package:textproc/vale[] is highly configurable.  It is advised to read its "
"documentation."
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:517
msgid "Use man:man[1] to check the final result of your changes:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:521
#, no-wrap
msgid "% man ./mynewmanpage.8\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:524
msgid ""
"You can use man:col[1] to filter the output of man:man[1] and get rid of the "
"backspace characters before loading the result in your favorite editor for "
"spell checking:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:528
#, no-wrap
msgid "% man ./mynewmanpage.8 | col -b | vim -R -\n"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:533
msgid ""
"Spell-checking with fully-featured dictionaries is encouraged, and can be "
"accomplished by using package:textproc/hunspell[] or package:textproc/"
"aspell[] combined with package:textproc/en-hunspell[] or package:textproc/en-"
"aspell[], respectively.  For instance:"
msgstr ""

#. type: delimited block . 4
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:537
#, no-wrap
msgid "% aspell check --lang=en --mode=nroff ./mynewmanpage.8\n"
msgstr ""

#. type: Title ==
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:540
#, no-wrap
msgid "Example Manual Pages to Use as Templates"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:543
msgid "Some manual pages are suitable as in-depth examples."
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:548
#, no-wrap
msgid "Manual Page"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:551
#, no-wrap
msgid "Path to Source Location"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:552
#, no-wrap
msgid "man:cp[1]"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:554
#, no-wrap
msgid "[.filename]#/usr/src/bin/cp/cp.1#"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:555
#, no-wrap
msgid "man:vt[4]"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:557
#, no-wrap
msgid "[.filename]#/usr/src/share/man/man4/vt.4#"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:558
#, no-wrap
msgid "man:crontab[5]"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:560
#, no-wrap
msgid "[.filename]#/usr/src/usr.sbin/cron/crontab/crontab.5#"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:561
#, no-wrap
msgid "man:gpart[8]"
msgstr ""

#. type: Table
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:562
#, no-wrap
msgid "[.filename]#/usr/src/sbin/geom/class/part/gpart.8#"
msgstr ""

#. type: Title ==
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:565
#, no-wrap
msgid "Resources"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:568
msgid "Resources for manual page writers:"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:570
msgid "man:man[1]"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:571
msgid "man:mandoc[1]"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:572
msgid "man:groff_mdoc[7]"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:573
msgid "http://manpages.bsd.lv/mdoc.html[Practical UNIX Manuals: mdoc]"
msgstr ""

#. type: Plain text
#: documentation/content/en/books/fdp-primer/manual-pages/_index.adoc:573
msgid "http://manpages.bsd.lv/history.html[History of UNIX Manpages]"
msgstr ""