mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
mapfile, readarray: add Dutch translation (#15416)
This commit is contained in:
parent
54dbef5af3
commit
fc991555cb
2 changed files with 27 additions and 0 deletions
7
pages.nl/common/mapfile.md
Normal file
7
pages.nl/common/mapfile.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# mapfile
|
||||||
|
|
||||||
|
> Dit commando is een alias van `readarray`.
|
||||||
|
|
||||||
|
- Bekijk de documentatie van het originele commando:
|
||||||
|
|
||||||
|
`tldr readarray`
|
20
pages.nl/common/readarray.md
Normal file
20
pages.nl/common/readarray.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# readarray
|
||||||
|
|
||||||
|
> Lees regels van `stdin` in een array.
|
||||||
|
> Meer informatie: <https://www.gnu.org/software/bash/manual/bash.html#index-readarray>.
|
||||||
|
|
||||||
|
- Interactief regels in een array invoeren:
|
||||||
|
|
||||||
|
`readarray {{array_naam}}`
|
||||||
|
|
||||||
|
- Lees regels uit een bestand en plaats ze in een array:
|
||||||
|
|
||||||
|
`readarray {{array_naam}} < {{pad/naar/bestand.txt}}`
|
||||||
|
|
||||||
|
- Verwijder scheidingstekens aan het einde (standaard newline):
|
||||||
|
|
||||||
|
`readarray -t {{array_naam}} < {{pad/naar/bestand.txt}}`
|
||||||
|
|
||||||
|
- Kopieer maximaal het opgegeven aantal regels:
|
||||||
|
|
||||||
|
`readarray -n {{N}} {{array_naam}} < {{pad/naar/bestand.txt}}`
|
Loading…
Add table
Reference in a new issue