mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 03:55:31 +03:00
numfmt: add Dutch translation and fix placeholders (#13156)
This commit is contained in:
parent
d318f11532
commit
c7f0a711d8
16
pages.nl/common/numfmt.md
Normal file
16
pages.nl/common/numfmt.md
Normal file
@ -0,0 +1,16 @@
|
||||
# numfmt
|
||||
|
||||
> Converteer getallen naar en van mens-leesbare strings.
|
||||
> Meer informatie: <https://www.gnu.org/software/coreutils/numfmt>.
|
||||
|
||||
- Converteer 1.5K (SI-eenheden) naar 1500:
|
||||
|
||||
`numfmt --from=si 1.5K`
|
||||
|
||||
- Converteer het 5e veld (1-gebaseerd) naar IEC-eenheden zonder de header te converteren:
|
||||
|
||||
`ls -l | numfmt --header=1 --field=5 --to=iec`
|
||||
|
||||
- Converteer naar IEC-eenheden, opvullen met 5 tekens, links uitgelijnd:
|
||||
|
||||
`du -s * | numfmt --to=iec --format="%-5f"`
|
@ -5,12 +5,12 @@
|
||||
|
||||
- Convert 1.5K (SI Units) to 1500:
|
||||
|
||||
`numfmt --from={{si}} {{1.5K}}`
|
||||
`numfmt --from=si 1.5K`
|
||||
|
||||
- Convert 5th field (1-indexed) to IEC Units without converting header:
|
||||
|
||||
`ls -l | numfmt --header={{1}} --field={{5}} --to={{iec}}`
|
||||
`ls -l | numfmt --header=1 --field=5 --to=iec`
|
||||
|
||||
- Convert to IEC units, pad with 5 characters, left aligned:
|
||||
|
||||
`du -s * | numfmt --to={{iec}} --format="{{%-5f}}"`
|
||||
`du -s * | numfmt --to=iec --format="%-5f"`
|
||||
|
Loading…
Reference in New Issue
Block a user