Skip to content

Commit

Permalink
pages.nl: use " " instead of "=" to separate the options from their a…
Browse files Browse the repository at this point in the history
…rguments

#11952
  • Loading branch information
sebastiaanspeck committed Apr 28, 2024
1 parent 134df43 commit 5c6085c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions pages.nl/android/logcat.md
Expand Up @@ -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}})`
8 changes: 4 additions & 4 deletions pages.nl/common/2to3.md
Expand Up @@ -13,20 +13,20 @@

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

`2to3 --list-fixes`

- 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}}`
4 changes: 2 additions & 2 deletions pages.nl/common/ack.md
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions pages.nl/common/adb-logcat.md
Expand Up @@ -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):

Expand Down
2 changes: 1 addition & 1 deletion pages.nl/common/chgrp.md
Expand Up @@ -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}}`
2 changes: 1 addition & 1 deletion pages.nl/common/chown.md
Expand Up @@ -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}}`
6 changes: 3 additions & 3 deletions pages.nl/common/cut.md
Expand Up @@ -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}}`

0 comments on commit 5c6085c

Please sign in to comment.