1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.nl/common/ack.md
Sebastiaan Speck dc73a80540
pages.nl/common/a*: update Dutch translation, fix English typo's (#16245)
* pages.nl/common/a*: update Dutch translation, fix English typo's

* Update pages/common/asciinema.md

* Update act.md

* Update pages.nl/common/act.md

* Update age-keygen.md

Co-authored-by: Leon <leonvsc@users.noreply.github.com>

* pages.nl/common/b*: update Dutch translation (#16248)

* pages.nl/common/b*: update Dutch translation

* Update pages.nl/common/bc.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

---------

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* certbot: update Dutch translation

* Update certbot.md

* Fix typos

---------

Co-authored-by: Leon <leonvsc@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-04-25 18:51:41 +02:00

1.1 KiB

ack

Een zoektool zoals grep, geoptimaliseerd voor ontwikkelaars. Bekijk ook: rg, dat is veel sneller. Meer informatie: https://beyondgrep.com/documentation.

  • Zoek recursief naar bestanden met een tekenreeks of reguliere expressie in de huidige map:

ack "{{zoekpatroon}}"

  • Zoek naar een niet-hoofdlettergevoelig patroon:

ack {{[-i|--ignore-case]}} "{{zoekpatroon}}"

  • Zoek naar lijnen die overeenkomen met een patroon en druk alleen de overeenkomende tekst af en niet de rest van de lijn:

ack {{[-o|--output='$&']}} "{{zoekpatroon}}"

  • Beperk het zoeken tot bestanden van een specifiek type:

ack {{[-t|--type]}} {{ruby}} "{{zoekpatroon}}"

  • Zoek niet in bestanden van een specifiek type:

ack {{[-t|--type]}} no{{ruby}} "{{zoekpatroon}}"

  • Tel het totaal aantal gevonden matches:

ack {{[-c|--count]}} {{[-h|--no-filename]}} "{{zoekpatroon}}"

  • Toon alleen voor elk bestand de bestandsnamen en het aantal overeenkomsten:

ack {{[-c|--count]}} {{[-l|--files-with-matches]}} "{{zoekpatroon}}"

  • Maak een lijst van alle waarden die kunnen worden gebruikt met --type:

ack --help-types