diff --git a/pages.nl/common/nl.md b/pages.nl/common/nl.md new file mode 100644 index 0000000000..096a11a9be --- /dev/null +++ b/pages.nl/common/nl.md @@ -0,0 +1,36 @@ +# nl + +> Voorzie regels van een nummer uit een bestand of van `stdin`. +> Meer informatie: . + +- Voorzie niet-lege regels in een bestand van een nummer: + +`nl {{pad/naar/bestand}}` + +- Lees van `stdin`: + +`{{commando}} | nl -` + +- Nummer [a]lle [b]ody regels inclusief lege regels of [n]ummer geen [b]ody regels: + +`nl -b {{a|n}} {{pad/naar/bestand}}` + +- Nummer alleen de [b]ody regels die overeenkomen met een basis reguliere expressie (BRE) [p]atroon: + +`nl -b p'FooBar[0-9]' {{pad/naar/bestand}}` + +- Gebruik een specifieke [i]ncrement voor regelnummering: + +`nl -i {{increment}} {{pad/naar/bestand}}` + +- Specificeer het nummeringsformaat voor regels: [r]echts of [l]inks uitgelijnd, met of zonder voorloopnullen ([z]eros): + +`nl -n {{rz|ln|rn}}` + +- Specificeer de breedte ([w]) van de nummering (standaard is 6): + +`nl -w {{col_width}} {{pad/naar/bestand}}` + +- Gebruik een specifieke string om de regelnummers van de regels te [s]cheiden (standaard is TAB): + +`nl -s {{separator}} {{pad/naar/bestand}}` diff --git a/pages.nl/linux/nl.md b/pages.nl/linux/nl.md index dd90a91d31..5c996be93a 100644 --- a/pages.nl/linux/nl.md +++ b/pages.nl/linux/nl.md @@ -27,10 +27,10 @@ `nl --number-format {{rz|ln|rn}}` -- Specificeer de breedte van de nummering (standaard is 6): +- Specificeer de breedte ([w]) van de nummering (standaard is 6): `nl --number-width {{kolombreedte}} {{pad/naar/bestand}}` -- Gebruik een specifieke string om de regelnummers van de regels te scheiden (standaard is TAB): +- Gebruik een specifieke string om de regelnummers van de regels te [s]cheiden (standaard is TAB): `nl --number-separator {{scheidingsteken}} {{pad/naar/bestand}}` diff --git a/pages/common/nl.md b/pages/common/nl.md index 6f37cedb06..4370335171 100644 --- a/pages/common/nl.md +++ b/pages/common/nl.md @@ -11,7 +11,7 @@ `{{command}} | nl -` -- Number [a]ll [b]ody lines including blank lines or do [n]ot number body lines: +- Number [a]ll [b]ody lines including blank lines or do [n]ot number [b]ody lines: `nl -b {{a|n}} {{path/to/file}}` diff --git a/pages/linux/nl.md b/pages/linux/nl.md index 81ee812997..65f5bc92d6 100644 --- a/pages/linux/nl.md +++ b/pages/linux/nl.md @@ -11,7 +11,7 @@ `{{command}} | nl -` -- Number [a]ll [b]ody lines including blank lines or do not [n]umber [b]ody lines: +- Number [a]ll [b]ody lines including blank lines or do [n]ot number [b]ody lines: `nl --body-numbering {{a|n}} {{path/to/file}}` @@ -27,10 +27,10 @@ `nl --number-format {{rz|ln|rn}}` -- Specify the line numbering's width (6 by default): +- Specify the line numbering's [w]idth (6 by default): `nl --number-width {{col_width}} {{path/to/file}}` -- Use a specific string to separate the line numbers from the lines (TAB by default): +- Use a specific string to [s]eparate the line numbers from the lines (TAB by default): `nl --number-separator {{separator}} {{path/to/file}}`