diff --git a/pages.ar/linux/apt-get.md b/pages.ar/linux/apt-get.md index 6dc3bacb8..37df7287f 100644 --- a/pages.ar/linux/apt-get.md +++ b/pages.ar/linux/apt-get.md @@ -1,4 +1,4 @@ -# apt +# apt-get > أداة إدارة الحزم لديبيان وأوبونتو. > ابحث عن الحزم باستخدام `apt-cache`. diff --git a/pages.de/common/g++.md b/pages.de/common/g++.md index 365256a25..93517620a 100644 --- a/pages.de/common/g++.md +++ b/pages.de/common/g++.md @@ -1,4 +1,4 @@ -# gplusplus +# g++ > Kompiliere C++ Quelldateien. > Teil der GCC (GNU Compiler Collection). diff --git a/pages.es/osx/cut.md b/pages.es/osx/cut.md index a972da4de..cf7bcbe96 100644 --- a/pages.es/osx/cut.md +++ b/pages.es/osx/cut.md @@ -1,4 +1,4 @@ -# cortar +# cut > Cortar campos sean `stdin` o archivos. > Más información: . diff --git a/pages.es/osx/internetsharing.md b/pages.es/osx/internetsharing.md index cf78fafcb..256aeed09 100644 --- a/pages.es/osx/internetsharing.md +++ b/pages.es/osx/internetsharing.md @@ -1,4 +1,4 @@ -# Compartir Internet +# InternetSharing > Configura Internet Sharing. > No debe invocarse manualmente. diff --git a/pages.id/windows/sl.md b/pages.id/windows/sl.md index 34113f096..c7c81e7d8 100644 --- a/pages.id/windows/sl.md +++ b/pages.id/windows/sl.md @@ -1,4 +1,4 @@ -# iwr +# sl > Perintah ini merupakan alias dari `Set-Location` di PowerShell. > Informasi lebih lanjut: . diff --git a/pages.ne/android/bugreportz.md b/pages.ne/android/bugreportz.md index 35cd5e2a3..5f66c932e 100644 --- a/pages.ne/android/bugreportz.md +++ b/pages.ne/android/bugreportz.md @@ -1,4 +1,4 @@ -# Bugreport +# bugreportz > जिप गरिएको एन्ड्रोइड बग रिपोर्ट उत्पन्न गर्नुहोस्। > यो आदेश `adb shell` मार्फत मात्र प्रयोग गर्न सकिन्छ। diff --git a/pages.nl/linux/qm-importdisk.md b/pages.nl/linux/qm-import-disk.md similarity index 100% rename from pages.nl/linux/qm-importdisk.md rename to pages.nl/linux/qm-import-disk.md diff --git a/pages.pt_BR/common/g++.md b/pages.pt_BR/common/g++.md index 1918aa4db..fc367f34e 100644 --- a/pages.pt_BR/common/g++.md +++ b/pages.pt_BR/common/g++.md @@ -1,4 +1,4 @@ -# gplusplus +# g++ > Compila arquivos de código fonte C++. > Parte do GCC (GNU Compiler Collection). diff --git a/pages.zh/linux/arecord.md b/pages.zh/linux/arecord.md index 9e7987ab4..02ae06fce 100644 --- a/pages.zh/linux/arecord.md +++ b/pages.zh/linux/arecord.md @@ -1,4 +1,4 @@ -# arecored +# arecord > ALSA 声卡驱动的声音录制器。 > 更多信息:. diff --git a/pages/common/gemtopnm.md b/pages/common/gemtopnm.md index daddecc9f..9a27313ad 100644 --- a/pages/common/gemtopnm.md +++ b/pages/common/gemtopnm.md @@ -1,16 +1,16 @@ -# gemtopbm +# gemtopnm > Convert a GEM image file into a PNM image. > More information: . - Convert a GEM image file to a PNM image: -`gemtopbm {{path/to/file.img}} > {{path/to/output.pbm}}` +`gemtopnm {{path/to/file.img}} > {{path/to/output.pnm}}` - Describe the contents of the specified GEM image: -`gemtopbm -d {{path/to/file.img}}` +`gemtopnm -d {{path/to/file.img}}` - Display version: -`gemtopbm -version` +`gemtopnm -version` diff --git a/pages/common/kubectl-expose.md b/pages/common/kubectl-expose.md index 94fba8475..e1e355b03 100644 --- a/pages/common/kubectl-expose.md +++ b/pages/common/kubectl-expose.md @@ -1,4 +1,4 @@ -# kubectl edit +# kubectl expose > Expose a resource as a new Kubernetes service. > More information: . diff --git a/pages/common/kubectl-label.md b/pages/common/kubectl-label.md index 1fffeda09..398876c72 100644 --- a/pages/common/kubectl-label.md +++ b/pages/common/kubectl-label.md @@ -1,6 +1,6 @@ -# kubectl edit +# kubectl label -> Edit Kubernetes resources. +> Label Kubernetes resources. > More information: . - Label a pod: diff --git a/pages/common/kubectl-scale.md b/pages/common/kubectl-scale.md index caffce5fc..9271727ed 100644 --- a/pages/common/kubectl-scale.md +++ b/pages/common/kubectl-scale.md @@ -1,4 +1,4 @@ -# kubectl edit +# kubectl scale > Set a new size for a deployment, replica set, replication controller, or stateful set. > More information: . diff --git a/pages/common/tlmgr-platform.md b/pages/common/tlmgr-platform.md index 278a72dbd..cb0e6519c 100644 --- a/pages/common/tlmgr-platform.md +++ b/pages/common/tlmgr-platform.md @@ -1,4 +1,4 @@ -# tldr platform +# tlmgr platform > Manage TeX Live platforms. > More information: . diff --git a/pages/linux/fprind.md b/pages/linux/fprintd.md similarity index 100% rename from pages/linux/fprind.md rename to pages/linux/fprintd.md diff --git a/pages/linux/qm-move-disk.md b/pages/linux/qm-move-disk.md index bf96e9e9a..6dc574107 100644 --- a/pages/linux/qm-move-disk.md +++ b/pages/linux/qm-move-disk.md @@ -1,8 +1,8 @@ -# qm move_disk +# qm move disk -> This command and `qm move-disk` is an alias of `qm disk move`. +> This command is an alias of `qm disk move`. > More information: . - View documentation for the original command: -`tldr qm-disk-move` +`tldr qm disk move` diff --git a/pages/linux/qm-move_disk.md b/pages/linux/qm-move_disk.md new file mode 100644 index 000000000..6dc574107 --- /dev/null +++ b/pages/linux/qm-move_disk.md @@ -0,0 +1,8 @@ +# qm move disk + +> This command is an alias of `qm disk move`. +> More information: . + +- View documentation for the original command: + +`tldr qm disk move` diff --git a/scripts/wrong-filename.sh b/scripts/wrong-filename.sh new file mode 100755 index 000000000..008807cbb --- /dev/null +++ b/scripts/wrong-filename.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# SPDX-License-Identifier: MIT + +set -e + +for path in $(find . -name '*.md' -type f); do + COMMAND_NAME_FILE=$(basename "$path" | head -c-4 | tr '-' ' ' | tr '[:upper:]' '[:lower:]') + COMMAND_NAME_PAGE=$(head -n1 "$path" | tail -c+3 | tr '-' ' ' | tr '[:upper:]' '[:lower:]') + if [ "$COMMAND_NAME_FILE" != "$COMMAND_NAME_PAGE" ]; then + echo "$path" + echo "$COMMAND_NAME_FILE" + echo "$COMMAND_NAME_PAGE" + echo "\n\n" + fi +done