sed: update Dutch translation (#12154)

* sed: update Dutch translation

* sed: update placeholder
pull/23/head
Sebastiaan Speck 2024-01-28 14:39:25 +01:00 committed by GitHub
parent e649a5acc6
commit b34e319836
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 8 deletions

View File

@ -8,18 +8,26 @@
`{{commando}} | sed 's/apple/mango/g'`
- Voer een specifiek script bestand uit en toon het resultaat in `stdout`:
`{{commando}} | sed -f {{pad/naar/script.sed}}`
- Vervang alle `apple` (uitgebreide regex) met `APPLE` (uitgebreide regex) in alle invoerregels en toon het resultaat in `stdout`:
`{{commando}} | sed -E 's/(apple)/\U\1/g'`
- Vervang alle `apple` (basis regex) met `mango` (basis regex) in een specifiek bestand en overschrijf het originele bestand:
`sed -i 's/apple/mango/g' {{pad/naar/bestand}}`
- Voer een specifiek script bestand uit en toon het resultaat in `stdout`:
`{{commando}} | sed -f {{pad/naar/script.sed}}`
- Toon alleen de eerste regel in `stdout`:
`{{commando}} | sed -n '1p'`
- Vervang alle `apple` (basis regex) met `mango` (basis regex) in een specifiek bestand en overschrijf het originele bestand:
- Verwijder de eerste regel van een bestand:
`sed -i 's/apple/mango/g' {{pad/naar/bestand}}`
`sed -i 1d {{pad/naar/bestand}}`
- Voeg een nieuwe regel in bij de eerste regel van een bestand:
`sed -i '1i\your new line text\' {{pad/naar/bestand}}`

View File

@ -26,8 +26,8 @@
- [d]elete the first line of a file:
`sed -i 1d {{/path/to/file}}`
`sed -i 1d {{path/to/file}}`
- [i]nsert a new line at the first line of a file:
`sed -i '1i\your new line text\' {{/path/to/file}}`
`sed -i '1i\your new line text\' {{path/to/file}}`