Selaa lähdekoodia

pages.*/*: replace `{{" "}}` with `"{{ }}"` (#15034)

The latter notation is preferred by the style guide.
Lena 3 kuukautta sitten
vanhempi
commit
d74e776a9c

+ 1 - 1
pages.bn/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - নির্দিষ্ট অবস্থানে সার্টিফিকেট ফাইল ইনস্টল করুন (স্বয়ংক্রিয় সার্টিফিকেট পুনরারম্ভের জন্য উপযুক্ত):
 
-`acme.sh --install-cert -d {{example.com}} --key-file {{/পথ/থেকে/উদাহরণ.কম.কি}} --fullchain-file {{/পথ/থেকে/উদাহরণ.কম.সিআর}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{example.com}} --key-file {{/পথ/থেকে/উদাহরণ.কম.কি}} --fullchain-file {{/পথ/থেকে/উদাহরণ.কম.সিআর}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages.es/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - Instala archivos de certificado en las ubicaciones especificadas (útil para la renovación automática de certificados):
 
-`acme.sh --install-cert -d {{ejemplo.com}} --key-file {{ruta/al/ejemplo.com.key}} --fullchain-file {{ruta/al/ejemplo.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{ejemplo.com}} --key-file {{ruta/al/ejemplo.com.key}} --fullchain-file {{ruta/al/ejemplo.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages.es/common/mkfifo.md

@@ -9,7 +9,7 @@
 
 - Envía datos a través de un pipe nombrado ejecutando el comando en segundo plano:
 
-`echo {{"Hola Mundo"}} > {{ruta/al/pipe}} &`
+`echo "{{Hola Mundo}}" > {{ruta/al/pipe}} &`
 
 - Recibe datos a través de un pipe nombrado:
 

+ 1 - 1
pages.es/common/read.md

@@ -17,7 +17,7 @@
 
 - Asigna varios valores a varias variables:
 
-`read {{_ variable1 _ variable2}} <<< {{"El apellido es Bond"}}`
+`read {{_ variable1 _ variable2}} <<< "{{El apellido es Bond"}}"`
 
 - No dejes que la barra invertida (\) actúe como carácter de escape:
 

+ 1 - 1
pages.fr/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - Installe les fichiers de certificat dans un dossier spécifique (Utile pour les renouvellements automatiques de certificat) :
 
-`acme.sh --install-cert -d {{exemple.com}} --key-file {{/chemin/vers/exemple.com.key}} --fullchain-file {{/chemin/vers/exemple.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{exemple.com}} --key-file {{/chemin/vers/exemple.com.key}} --fullchain-file {{/chemin/vers/exemple.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages.id/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - Pasang sertifikat ke dalam direktori tertentu (dapat berguna untuk proses pemutakhiran otomatis):
 
-`acme.sh --install-cert -d {{example.com}} --key-file {{/jalan/menuju/example.com.key}} --fullchain-file {{/jalan/menuju/example.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{example.com}} --key-file {{/jalan/menuju/example.com.key}} --fullchain-file {{/jalan/menuju/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages.ko/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - 지정된 위치에 인증서 파일 설치 (자동 인증서 갱신에 장점이 있음):
 
-`acme.sh --install-cert -d {{example.com}} --key-file {{/경로/대상/example.com.key}} --fullchain-file {{/경로/대상/example.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{example.com}} --key-file {{/경로/대상/example.com.key}} --fullchain-file {{/경로/대상/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages.ko/common/gh-config.md

@@ -21,7 +21,7 @@
 
 - 기본 텍스트 편집기로 재설정:
 
-`gh config set editor {{""}}`
+`gh config set editor ""`
 
 - 대화형 프롬프트 비활성화:
 

+ 1 - 1
pages.ko/common/licensor.md

@@ -13,7 +13,7 @@
 
 - Bobby Tables라는 저작권자를 지정:
 
-`licensor {{MIT}} {{"Bobby Tables"}} > {{LICENSE}}`
+`licensor {{MIT}} "{{Bobby Tables}}" > {{LICENSE}}`
 
 - WITH 표현을 사용하여 라이선스 예외사항 지정:
 

+ 1 - 1
pages.ko/common/mkfifo.md

@@ -9,7 +9,7 @@
 
 - 이름 있는 파이프를 통해 데이터를 보내고 명령을 백그라운드로 전송:
 
-`echo {{"Hello World"}} > {{경로/대상/파이프}} &`
+`echo "{{Hello World}}" > {{경로/대상/파이프}} &`
 
 - 이름 있는 파이프를 통해 데이터 수신:
 

+ 1 - 1
pages.ko/common/nuclei.md

@@ -33,4 +33,4 @@
 
 - 하나 이상의 [t]emplate [c]onditions에 기반한 스캔 실행:
 
-`nuclei -tc {{"contains(tags, 'xss') && contains(tags, 'cve')"}} -u {{https://vulnerable.website}}`
+`nuclei -tc "{{contains(tags, 'xss') && contains(tags, 'cve')}}" -u {{https://vulnerable.website}}`

+ 2 - 2
pages.ko/common/openai.md

@@ -9,7 +9,7 @@
 
 - 완료 생성:
 
-`openai api completions.create --model {{ada}} --prompt {{"Hello world"}}`
+`openai api completions.create --model {{ada}} --prompt "{{Hello world}}"`
 
 - 채팅 완료 생성:
 
@@ -17,4 +17,4 @@
 
 - DALL·E API를 통해 이미지 생성:
 
-`openai api image.create --prompt {{"two dogs playing chess, cartoon"}} --num-images {{1}}`
+`openai api image.create --prompt "{{two dogs playing chess, cartoon}}" --num-images {{1}}`

+ 1 - 1
pages.ko/common/read.md

@@ -17,7 +17,7 @@
 
 - 여러 값을 여러 변수에 할당:
 
-`read {{_ 변수1 _ 변수2}} <<< {{"The surname is Bond"}}`
+`read {{_ 변수1 _ 변수2}} <<< "{{The surname is Bond}}"`
 
 - 백슬래시(\\)를 이스케이프 문자로 사용하지 않음:
 

+ 1 - 1
pages.ko/common/rich.md

@@ -29,4 +29,4 @@
 
 - 서식 태그, 사용자 정의 정렬 및 줄 너비를 사용하여 텍스트 표시:
 
-`rich --print {{"Hello [green on black]Stylized[/green on black] [bold]World[/bold]"}} --{{left|center|right}} --width {{10}}`
+`rich --print "{{Hello [green on black]Stylized[/green on black] [bold]World[/bold]}}" --{{left|center|right}} --width {{10}}`

+ 1 - 1
pages.ko/common/semver.md

@@ -17,7 +17,7 @@
 
 - 여러 범위로 테스트:
 
-`semver {{1.2.3}} --range {{">=1.0"}} {{"<2.0"}}`
+`semver {{1.2.3}} --range "{{>=1.0}}" "{{<2.0}}"`
 
 - 여러 버전 문자열을 테스트하고 일치하는 것만 반환:
 

+ 1 - 1
pages.ko/common/trivy.md

@@ -33,4 +33,4 @@
 
 - SARIF 템플릿으로 출력 생성:
 
-`trivy image --format {{template}} --template {{"@sarif.tpl"}} -o {{경로/대상/보고서.sarif}} {{이미지:태그}}`
+`trivy image --format {{template}} --template "{{@sarif.tpl}}" -o {{경로/대상/보고서.sarif}} {{이미지:태그}}`

+ 1 - 1
pages.ko/common/virt-install.md

@@ -21,4 +21,4 @@
 
 - Fedora 35를 기반으로 한 자동 배포를 시작하고 원격 리소스만 사용하여 가상 머신 생성 (ISO 불필요):
 
-`virt-install --name {{가상머신_이름}} --memory {{2048}} --disk path={{경로/대상/이미지.qcow2}},size={{20}} --location={{https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/}} --extra-args={{"inst.ks=https://경로/대상/유효한/kickstart.org"}}`
+`virt-install --name {{가상머신_이름}} --memory {{2048}} --disk path={{경로/대상/이미지.qcow2}},size={{20}} --location={{https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/}} --extra-args="{{inst.ks=https://경로/대상/유효한/kickstart.org}}"`

+ 2 - 2
pages.ko/common/wfuzz.md

@@ -17,7 +17,7 @@
 
 - 사용자 정의 [H]eader를 사용하여 서브도메인 퍼징, 특정 응답 [c]odes 및 단어 수 숨김. [t]hreads를 100으로 증가시키고 대상 ip/도메인 포함:
 
-`wfuzz -w {{경로/대상/파일}} -H {{"Host: FUZZ.example.com"}} --hc {{301}} --hw {{222}} -t {{100}} {{example.com}}`
+`wfuzz -w {{경로/대상/파일}} -H "{{Host: FUZZ.example.com}}" --hc {{301}} --hw {{222}} -t {{100}} {{example.com}}`
 
 - 파일에서 각 FUZ[z] 키워드에 대한 사용자 명과 비밀번호 목록을 사용하여 기본 인증 브루트포스, 실패한 시도에 대한 응답 [c]odes 숨김:
 
@@ -25,7 +25,7 @@
 
 - 커맨드라인에서 직접 워드리스트 제공 및 POST 요청을 사용하여 퍼징:
 
-`wfuzz -z list,{{word1-word2-...}} {{https://api.example.com}} -d {{"id=FUZZ&showwallet=true"}}`
+`wfuzz -z list,{{word1-word2-...}} {{https://api.example.com}} -d "{{id=FUZZ&showwallet=true}}"`
 
 - 파일에서 워드리스트를 제공하며 base64 및 md5 인코딩 적용 (`wfuzz -e encoders`로 사용 가능한 모든 인코더 나열):
 

+ 1 - 1
pages.ko/linux/kwriteconfig5.md

@@ -29,4 +29,4 @@
 
 - KRunner를 Meta(커맨드/윈도우) 글로벌 핫키로 열리도록 설정:
 
-`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} {{"org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch"}}`
+`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} "{{org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch}}"`

+ 1 - 1
pages.ko/linux/swaybg.md

@@ -13,4 +13,4 @@
 
 - 배경화면을 고정된 [c]색상으로 설정:
 
-`swaybg --color {{"#rrggbb"}}`
+`swaybg --color "{{#rrggbb}}"`

+ 1 - 1
pages.ko/windows/show-markdown.md

@@ -10,7 +10,7 @@
 
 - 문자열에서 콘솔로 Markdown 렌더링:
 
-`{{"# Markdown content"}} | Show-Markdown`
+`"{{# Markdown content}}" | Show-Markdown`
 
 - 브라우저에서 Markdown 파일 열기:
 

+ 1 - 1
pages.nl/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - Installeer certificaatbestanden op de opgegeven locaties (handig voor automatische certificaatvernieuwing):
 
-`acme.sh --install-cert -d {{voorbeeld.com}} --key-file {{/pad/naar/voorbeeld.com.key}} --fullchain-file {{/pad/naar/voorbeeld.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{voorbeeld.com}} --key-file {{/pad/naar/voorbeeld.com.key}} --fullchain-file {{/pad/naar/voorbeeld.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages.nl/common/mkfifo.md

@@ -9,7 +9,7 @@
 
 - Stuur data naar een benoemde pipe en stuur het commando naar de achtergrond:
 
-`echo {{"Hello World"}} > {{pad/naar/pipe}} &`
+`echo "{{Hello World}}" > {{pad/naar/pipe}} &`
 
 - Ontvang data van benoemde pipe:
 

+ 1 - 1
pages.nl/common/read.md

@@ -17,7 +17,7 @@
 
 - Wijs meerdere waarden toe aan meerdere variabelen:
 
-`read {{_ variable1 _ variable2}} <<< {{"De achternaam is Bond"}}`
+`read {{_ variable1 _ variable2}} <<< "{{De achternaam is Bond}}"`
 
 - Laat backslash (\\) niet optreden als een escape-teken:
 

+ 1 - 1
pages.pt_BR/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - Instala os arquivos dos certificaods em um local específico (útil para renovação automática do certificado):
 
-`acme.sh --install-cert -d {{example.com}} --key-file {{/caminho/para/exemplo.com.key}} --fullchain-file {{/caminho/para/exemplo.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{example.com}} --key-file {{/caminho/para/exemplo.com.key}} --fullchain-file {{/caminho/para/exemplo.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages.zh/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - 将证书文件安装到指定位置(对自动更新证书很有用):
 
-`acme.sh --install-cert -d {{example.com}} --key-file {{/路径/到/example.com.key}} --fullchain-file {{/路径/到/example.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{example.com}} --key-file {{/路径/到/example.com.key}} --fullchain-file {{/路径/到/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages/common/acme.sh.md

@@ -30,4 +30,4 @@
 
 - Install certificate files into the specified locations (useful for automatic certificate renewal):
 
-`acme.sh --install-cert -d {{example.com}} --key-file {{/path/to/example.com.key}} --fullchain-file {{/path/to/example.com.cer}} --reloadcmd {{"systemctl force-reload nginx"}}`
+`acme.sh --install-cert -d {{example.com}} --key-file {{/path/to/example.com.key}} --fullchain-file {{/path/to/example.com.cer}} --reloadcmd "{{systemctl force-reload nginx}}"`

+ 1 - 1
pages/common/gh-config.md

@@ -21,7 +21,7 @@
 
 - Reset to default text editor:
 
-`gh config set editor {{""}}`
+`gh config set editor ""`
 
 - Disable interactive prompts:
 

+ 1 - 1
pages/common/licensor.md

@@ -13,7 +13,7 @@
 
 - Specify a copyright holder named Bobby Tables:
 
-`licensor {{MIT}} {{"Bobby Tables"}} > {{LICENSE}}`
+`licensor {{MIT}} "{{Bobby Tables}}" > {{LICENSE}}`
 
 - Specify licence exceptions with a WITH expression:
 

+ 1 - 1
pages/common/mkfifo.md

@@ -9,7 +9,7 @@
 
 - Send data through a named pipe and send the command to the background:
 
-`echo {{"Hello World"}} > {{path/to/pipe}} &`
+`echo "{{Hello World}}" > {{path/to/pipe}} &`
 
 - Receive data through a named pipe:
 

+ 1 - 1
pages/common/nuclei.md

@@ -33,4 +33,4 @@
 
 - Run scan based on one or more [t]emplate [c]onditions:
 
-`nuclei -tc {{"contains(tags, 'xss') && contains(tags, 'cve')"}} -u {{https://vulnerable.website}}`
+`nuclei -tc "{{contains(tags, 'xss') && contains(tags, 'cve')}}" -u {{https://vulnerable.website}}`

+ 2 - 2
pages/common/openai.md

@@ -9,7 +9,7 @@
 
 - Create a completion:
 
-`openai api completions.create --model {{ada}} --prompt {{"Hello world"}}`
+`openai api completions.create --model {{ada}} --prompt "{{Hello world}}"`
 
 - Create a chat completion:
 
@@ -17,4 +17,4 @@
 
 - Generate images via DALL·E API:
 
-`openai api image.create --prompt {{"two dogs playing chess, cartoon"}} --num-images {{1}}`
+`openai api image.create --prompt "{{two dogs playing chess, cartoon}}" --num-images {{1}}`

+ 1 - 1
pages/common/read.md

@@ -17,7 +17,7 @@
 
 - Assign multiple values to multiple variables:
 
-`read {{_ variable1 _ variable2}} <<< {{"The surname is Bond"}}`
+`read {{_ variable1 _ variable2}} <<< "{{The surname is Bond}}"`
 
 - Do not let backslash (\\) act as an escape character:
 

+ 1 - 1
pages/common/rich.md

@@ -29,4 +29,4 @@
 
 - Display text with formatting tags, custom alignment, and line width:
 
-`rich --print {{"Hello [green on black]Stylized[/green on black] [bold]World[/bold]"}} --{{left|center|right}} --width {{10}}`
+`rich --print "{{Hello [green on black]Stylized[/green on black] [bold]World[/bold]}}" --{{left|center|right}} --width {{10}}`

+ 1 - 1
pages/common/semver.md

@@ -17,7 +17,7 @@
 
 - Test with multiple ranges:
 
-`semver {{1.2.3}} --range {{">=1.0"}} {{"<2.0"}}`
+`semver {{1.2.3}} --range "{{>=1.0}}" "{{<2.0}}"`
 
 - Test multiple version strings and return only the ones that match:
 

+ 1 - 1
pages/common/trivy.md

@@ -33,4 +33,4 @@
 
 - Generate output with a SARIF template:
 
-`trivy image --format {{template}} --template {{"@sarif.tpl"}} -o {{path/to/report.sarif}} {{image:tag}}`
+`trivy image --format {{template}} --template "{{@sarif.tpl}}" -o {{path/to/report.sarif}} {{image:tag}}`

+ 1 - 1
pages/common/virt-install.md

@@ -21,4 +21,4 @@
 
 - Create a virtual machine and kickstart an automated deployment based on Fedora 35 using only remote resources (no ISO required):
 
-`virt-install --name {{vm_name}} --memory {{2048}} --disk path={{path/to/image.qcow2}},size={{20}} --location={{https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/}} --extra-args={{"inst.ks=https://path/to/valid/kickstart.org"}}`
+`virt-install --name {{vm_name}} --memory {{2048}} --disk path={{path/to/image.qcow2}},size={{20}} --location={{https://download.fedoraproject.org/pub/fedora/linux/releases/35/Everything/x86_64/os/}} --extra-args="{{inst.ks=https://path/to/valid/kickstart.org}}"`

+ 2 - 2
pages/common/wfuzz.md

@@ -17,7 +17,7 @@
 
 - Use a custom [H]eader to fuzz subdomains while [h]iding specific response [c]odes and word counts. Increase the [t]hreads to 100 and include the target ip/domain:
 
-`wfuzz -w {{path/to/file}} -H {{"Host: FUZZ.example.com"}} --hc {{301}} --hw {{222}} -t {{100}} {{example.com}}`
+`wfuzz -w {{path/to/file}} -H "{{Host: FUZZ.example.com}}" --hc {{301}} --hw {{222}} -t {{100}} {{example.com}}`
 
 - Brute force Basic Authentication using a list of usernames and passwords from files for each FUZ[z] keyword, [h]iding response [c]odes of unsuccessful attempts:
 
@@ -25,7 +25,7 @@
 
 - Provide wordlist directly from the command-line and use POST request for fuzzing:
 
-`wfuzz -z list,{{word1-word2-...}} {{https://api.example.com}} -d {{"id=FUZZ&showwallet=true"}}`
+`wfuzz -z list,{{word1-word2-...}} {{https://api.example.com}} -d "{{id=FUZZ&showwallet=true}}"`
 
 - Provide wordlists from a file applying base64 and md5 encoding on them (`wfuzz -e encoders` lists all available encoders):
 

+ 1 - 1
pages/linux/kwriteconfig5.md

@@ -29,4 +29,4 @@
 
 - Configure KRunner to open with the Meta (Command/Windows) global hotkey:
 
-`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} {{"org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch"}}`
+`kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} "{{org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch}}"`

+ 1 - 1
pages/linux/swaybg.md

@@ -13,4 +13,4 @@
 
 - Set the wallpaper to a static [c]olor:
 
-`swaybg --color {{"#rrggbb"}}`
+`swaybg --color "{{#rrggbb}}"`

+ 1 - 1
pages/windows/show-markdown.md

@@ -10,7 +10,7 @@
 
 - Render markdown to console from string:
 
-`{{"# Markdown content"}} | Show-Markdown`
+`"{{# Markdown content}}" | Show-Markdown`
 
 - Open Markdown file in a browser: