mirror of https://github.com/CrimsonTome/tldr.git
sed: update Dutch translation (#12154)
* sed: update Dutch translation * sed: update placeholderpull/23/head
parent
e649a5acc6
commit
b34e319836
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue