pages.nl: use " " instead of "=" to separate the options from their arguments, cut: fix example (#12690)

This commit is contained in:
Sebastiaan Speck 2024-05-04 09:32:33 +02:00 committed by GitHub
parent 2926bdb701
commit e658cb36a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 16 additions and 16 deletions

View File

@ -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}})`

View File

@ -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}}`

View File

@ -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:

View File

@ -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):

View File

@ -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}}`

View File

@ -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}}`

View File

@ -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}}`

View File

@ -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: