From f4613659a81f866037a96f469d22d15ffb60f8b1 Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Wed, 19 Jun 2024 06:16:49 +0200 Subject: [PATCH] grep: add Dutch translation and fix placeholder highlight (#13030) * grep: add Dutch translation * grep: fix placeholder highlighting --- pages.da/common/grep.md | 2 +- pages.de/common/grep.md | 2 +- pages.es/common/grep.md | 2 +- pages.fa/common/grep.md | 2 +- pages.fr/common/grep.md | 2 +- pages.ko/common/grep.md | 2 +- pages.nl/common/grep.md | 36 ++++++++++++++++++++++++++++++++++++ pages.pt_BR/common/grep.md | 2 +- pages.ru/common/grep.md | 2 +- pages.ta/common/grep.md | 2 +- pages.tr/common/grep.md | 2 +- pages.zh/common/grep.md | 2 +- pages/common/grep.md | 2 +- 13 files changed, 48 insertions(+), 12 deletions(-) create mode 100644 pages.nl/common/grep.md diff --git a/pages.da/common/grep.md b/pages.da/common/grep.md index ffbf5c341..fb2da85e9 100644 --- a/pages.da/common/grep.md +++ b/pages.da/common/grep.md @@ -21,7 +21,7 @@ - Print 3 linjer af kontekst omkring, før eller efter hvert match: -`grep --{{context|before-context|after-context}} {{3}} "{{søgemønster}}" {{sti/til/fil}}` +`grep --{{context|before-context|after-context}} 3 "{{søgemønster}}" {{sti/til/fil}}` - Print, filnavn og linjenummer for hvert match, med farveoutput: diff --git a/pages.de/common/grep.md b/pages.de/common/grep.md index 48301c4d8..905c569de 100644 --- a/pages.de/common/grep.md +++ b/pages.de/common/grep.md @@ -18,4 +18,4 @@ - Zeige 3 Zeilen Kontext um [C], vor [B] oder nach [A] jedem Ergebnis: -`grep --{{context|before-context|after-context}}={{3}} "{{ausdruck}}" {{pfad/zu/datei}}` +`grep --{{context|before-context|after-context}} 3 "{{ausdruck}}" {{pfad/zu/datei}}` diff --git a/pages.es/common/grep.md b/pages.es/common/grep.md index 0b010ea9b..5d33d0f85 100644 --- a/pages.es/common/grep.md +++ b/pages.es/common/grep.md @@ -21,7 +21,7 @@ - Imprime 3 líneas alrededor, antes o después de cada coincidencia: -`grep --{{context|before-context|after-context}} {{3}} "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` +`grep --{{context|before-context|after-context}} 3 "{{patrón_de_búsqueda}}" {{ruta/al/archivo}}` - Imprime con colores el nombre del archivo y el número de línea de cada coincidencia: diff --git a/pages.fa/common/grep.md b/pages.fa/common/grep.md index f2c9cae8a..3220a5c81 100644 --- a/pages.fa/common/grep.md +++ b/pages.fa/common/grep.md @@ -21,7 +21,7 @@ - چاپ 3 خط از قبل و بعد محل انطباق: -`grep --{{context|before-context|after-context}}={{3}} "{{search_pattern}}" {{path/to/file}}` +`grep --{{context|before-context|after-context}} 3 "{{search_pattern}}" {{path/to/file}}` - چاپ نام فایل و شماره خط برای هر انطباق با رنگبندی : diff --git a/pages.fr/common/grep.md b/pages.fr/common/grep.md index e2a561eab..744bf1a16 100644 --- a/pages.fr/common/grep.md +++ b/pages.fr/common/grep.md @@ -22,7 +22,7 @@ - Affiche 3 lignes de [C]ontexte, avant ([B]efore), ou [A]près chaque concordance : -`grep --{{context|before-context|after-context}}={{3}} "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` +`grep --{{context|before-context|after-context}} 3 "{{chaîne_recherchée}}" {{chemin/vers/fichier}}` - Affiche le nom du fichier avec la ligne correspondante pour chaque concordance : diff --git a/pages.ko/common/grep.md b/pages.ko/common/grep.md index b415b6249..83c69c22b 100644 --- a/pages.ko/common/grep.md +++ b/pages.ko/common/grep.md @@ -21,7 +21,7 @@ - 일치하는 문자열 주변, 이전 혹은 이후의 3줄을 출력: -`grep --{{context|before-context|after-context}}={{3}} "{{검색_패턴}}" {{파일/의/경로}}` +`grep --{{context|before-context|after-context}} 3 "{{검색_패턴}}" {{파일/의/경로}}` - 각각의 일치하는 문자열의 파일 이름과 줄 번호 출력: diff --git a/pages.nl/common/grep.md b/pages.nl/common/grep.md new file mode 100644 index 000000000..2deb2c55b --- /dev/null +++ b/pages.nl/common/grep.md @@ -0,0 +1,36 @@ +# grep + +> Zoek patronen in bestanden met behulp van reguliere expressies. +> Meer informatie: . + +- Zoek naar een patroon in een bestand: + +`grep "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek naar een exacte string (schakelt reguliere expressies uit): + +`grep {{-F|--fixed-strings}} "{{exacte_string}}" {{pad/naar/bestand}}` + +- Zoek naar een patroon in alle bestanden in een map, recursief, toon regelnummers van overeenkomsten, negeer binaire bestanden: + +`grep {{-r|--recursive}} {{-n|--line-number}} --binary-files {{without-match}} "{{zoekpatroon}}" {{pad/naar/map}}` + +- Gebruik uitgebreide reguliere expressies (ondersteunt `?`, `+`, `{}`, `()` en `|`), in hoofdletterongevoelige modus: + +`grep {{-E|--extended-regexp}} {{-i|--ignore-case}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Print 3 regels context rondom, voor of na elke overeenkomst: + +`grep --{{context|before-context|after-context}} 3 "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Print bestandsnaam en regelnummers voor elke overeenkomst met kleuruitvoer: + +`grep {{-H|--with-filename}} {{-n|--line-number}} --color=always "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek naar regels die overeenkomen met een patroon en print alleen de overeenkomstige tekst: + +`grep {{-o|--only-matching}} "{{zoekpatroon}}" {{pad/naar/bestand}}` + +- Zoek in `stdin` naar regels die niet overeenkomen met een patroon: + +`cat {{pad/naar/bestand}} | grep {{-v|--invert-match}} "{{zoekpatroon}}"` diff --git a/pages.pt_BR/common/grep.md b/pages.pt_BR/common/grep.md index 88359a02f..77f9a8998 100644 --- a/pages.pt_BR/common/grep.md +++ b/pages.pt_BR/common/grep.md @@ -21,7 +21,7 @@ - Imprime 3 linhas de contexto em volta, antes ou depois de cada correspondência: -`grep --{{context|before-context|after-context}}={{3}} "{{padrão_pesquisado}}" {{caminho/para/arquivo}}` +`grep --{{context|before-context|after-context}} 3 "{{padrão_pesquisado}}" {{caminho/para/arquivo}}` - Imprime o nome do arquivo e o número da linha para cada correspondência: diff --git a/pages.ru/common/grep.md b/pages.ru/common/grep.md index 05fb0f681..4f9dca9dc 100644 --- a/pages.ru/common/grep.md +++ b/pages.ru/common/grep.md @@ -21,7 +21,7 @@ - Вывести 3 строки содержимого, до или после каждого совпадения: -`grep --{{context|before-context|after-context}}={{3}} "{{шаблон_поиска}}" {{путь/к/файлу}}` +`grep --{{context|before-context|after-context}} 3 "{{шаблон_поиска}}" {{путь/к/файлу}}` - Вывести имя файла и номер строки для каждого совпадения: diff --git a/pages.ta/common/grep.md b/pages.ta/common/grep.md index 06354ed7c..df70f8dba 100644 --- a/pages.ta/common/grep.md +++ b/pages.ta/common/grep.md @@ -21,7 +21,7 @@ - ஒவ்வொருப் பொருத்தத்திற்கும் சூழ்ந்த, முந்தைய அல்லது பிந்தைய 3 வரிகளைக் காட்டு: -`grep --{{context|before-context|after-context}}={{3}} "{{தேடுதொடர்}}" {{கோப்பு/பாதை}}` +`grep --{{context|before-context|after-context}} 3 "{{தேடுதொடர்}}" {{கோப்பு/பாதை}}` - வண்ண வெளியீட்டில் ஒவ்வொரு பொருத்தத்திற்கும் கோப்பு பெயர் மற்றும் வரி எண்ணை அச்சிடவும்: diff --git a/pages.tr/common/grep.md b/pages.tr/common/grep.md index 71d4b598c..51faffd66 100644 --- a/pages.tr/common/grep.md +++ b/pages.tr/common/grep.md @@ -21,7 +21,7 @@ - Her eşleşmenin etrafında, öncesinde veya sonrasında 3 satır içerik yazdır: -`grep --{{context|before-context|after-context}}={{3}} "{{aranan_kalıp}}" {{dosya/yolu}}` +`grep --{{context|before-context|after-context}} 3 "{{aranan_kalıp}}" {{dosya/yolu}}` - Renkli çıktı ile her eşleşme için dosya adını ve satır numarasını yazdır: diff --git a/pages.zh/common/grep.md b/pages.zh/common/grep.md index bd0c51df7..f19f290f1 100644 --- a/pages.zh/common/grep.md +++ b/pages.zh/common/grep.md @@ -21,7 +21,7 @@ - 在每个匹配前后、之前或之后打印 3 行上下文: -`grep --{{context|before-context|after-context}}={{3}} "{{模式字符串}}" {{路径/到/文件}}` +`grep --{{context|before-context|after-context}} 3 "{{模式字符串}}" {{路径/到/文件}}` - 以带有颜色的方式,打印每个匹配的文件名和行号: diff --git a/pages/common/grep.md b/pages/common/grep.md index 80e52867b..171e1e333 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -21,7 +21,7 @@ - Print 3 lines of context around, before, or after each match: -`grep --{{context|before-context|after-context}} {{3}} "{{search_pattern}}" {{path/to/file}}` +`grep --{{context|before-context|after-context}} 3 "{{search_pattern}}" {{path/to/file}}` - Print file name and line number for each match with color output: