mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
pages.nl: use " " instead of "=" to separate the options from their arguments, cut: fix example (#12690)
This commit is contained in:
parent
2926bdb701
commit
e658cb36a9
8 changed files with 16 additions and 16 deletions
|
@ -17,8 +17,8 @@
|
|||
|
||||
- Toon logs voor een specifieke PID:
|
||||
|
||||
`logcat --pid={{pid}}`
|
||||
`logcat --pid {{pid}}`
|
||||
|
||||
- Toon logs voor een proces van een specifiek pakket:
|
||||
|
||||
`logcat --pid=$(pidof -s {{pakket}})`
|
||||
`logcat --pid $(pidof -s {{pakket}})`
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
- Converteer specifieke Python 2-taalfuncties naar Python 3:
|
||||
|
||||
`2to3 --write {{pad/naar/bestand.py}} --fix={{raw_input}} --fix={{print}}`
|
||||
`2to3 --write {{pad/naar/bestand.py}} --fix {{raw_input}} --fix {{print}}`
|
||||
|
||||
- Converteer alle Python 2-taalfuncties behalve de gespecificeerde naar Python 3:
|
||||
|
||||
`2to3 --write {{pad/naar/bestand.py}} --nofix={{has_key}} --nofix={{isinstance}}`
|
||||
`2to3 --write {{pad/naar/bestand.py}} --nofix {{has_key}} --nofix {{isinstance}}`
|
||||
|
||||
- Geef een lijst weer met alle beschikbare taalfuncties die kunnen worden geconverteerd van Python 2 naar Python 3:
|
||||
|
||||
|
@ -25,8 +25,8 @@
|
|||
|
||||
- Converteer alle Python 2-bestanden in een map naar Python 3:
|
||||
|
||||
`2to3 --output-dir={{pad/naar/python3_map}} --write-unchanged-files --nobackups {{pad/naar/python2_map}}`
|
||||
`2to3 --output-dir {{pad/naar/python3_map}} --write-unchanged-files --nobackups {{pad/naar/python2_map}}`
|
||||
|
||||
- Voer 2to3 uit met meerdere threads:
|
||||
|
||||
`2to3 --processes={{4}} --output-dir={{pad/naar/python3_map}} --write --nobackups --no-diff {{pad/naar/python2_map}}`
|
||||
`2to3 --processes {{4}} --output-dir {{pad/naar/python3_map}} --write --nobackups --no-diff {{pad/naar/python2_map}}`
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
|
||||
- Beperk het zoeken tot bestanden van een specifiek type:
|
||||
|
||||
`ack --type={{ruby}} "{{zoekpatroon}}"`
|
||||
`ack --type {{ruby}} "{{zoekpatroon}}"`
|
||||
|
||||
- Zoek niet in bestanden van een specifiek type:
|
||||
|
||||
`ack --type=no{{ruby}} "{{zoekpatroon}}"`
|
||||
`ack --type no{{ruby}} "{{zoekpatroon}}"`
|
||||
|
||||
- Tel het totaal aantal gevonden matches:
|
||||
|
||||
|
|
|
@ -25,11 +25,11 @@
|
|||
|
||||
- Geef logboeken weer voor een specifiek proces:
|
||||
|
||||
`adb logcat --pid={{pid}}`
|
||||
`adb logcat --pid {{pid}}`
|
||||
|
||||
- Logboeken weergeven voor het proces van een specifiek pakket:
|
||||
|
||||
`adb logcat --pid=$(adb shell pidof -s {{pakket}})`
|
||||
`adb logcat --pid $(adb shell pidof -s {{pakket}})`
|
||||
|
||||
- Kleur de log in (gebruik meestal met filters):
|
||||
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
|
||||
- Verander de beheerdersgroep van een bestand/map naar de permissies van een referentiebestand:
|
||||
|
||||
`chgrp --reference={{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}`
|
||||
`chgrp --reference {{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}`
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
|
||||
- Verander de beheerder van een bestand of map naar dezelfde als een referentiebestand:
|
||||
|
||||
`chown --reference={{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}`
|
||||
`chown --reference {{pad/naar/referentiebestand}} {{pad/naar/bestand_of_map}}`
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
- Toon een specifiek karakter/veldbereik voor iedere regel:
|
||||
|
||||
`{{commando}} | cut --{{characters|fields}}={{1|1,10|1-10|1-|-10}}`
|
||||
`{{commando}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}`
|
||||
|
||||
- Toon een bereik voor iedere regel met een specifieke scheiding:
|
||||
|
||||
`{{commando}} | cut --delimiter="{{,}}" --fields={{1}}`
|
||||
`{{commando}} | cut --delimiter "{{,}}" --fields {{1}}`
|
||||
|
||||
- Toon een bereik van iedere regel voor een specifiek bestand:
|
||||
|
||||
`cut --characters={{1}} {{pad/naar/bestand}}`
|
||||
`cut --characters {{1}} {{pad/naar/bestand}}`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Print a field range of each line with a specific delimiter:
|
||||
|
||||
`{{command}} | cut --delimiter="{{,}}" --fields {{1}}`
|
||||
`{{command}} | cut --delimiter "{{,}}" --fields {{1}}`
|
||||
|
||||
- Print a character range of each line of the specific file:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue