Browse Source

histexpand: delete page (#15857)

Managor 5 days ago
parent
commit
c8c92580da

+ 0 - 36
pages.es/common/histexpand.md

@@ -1,36 +0,0 @@
-# history expansion
-
-> Reutiliza y expande el historial del shell en `sh`, Bash, Zsh, `rbash` y `ksh`.
-> Más información: <https://www.gnu.org/software/bash/manual/html_node/History-Interaction>.
-
-- Ejecuta el comando anterior como root (`!!` se sustituye por el comando anterior):
-
-`sudo !!`
-
-- Ejecuta un comando con el último argumento del comando anterior:
-
-`{{comando}} !$`
-
-- Ejecuta un comando con el primer argumento del comando anterior:
-
-`{{comando}} !^`
-
-- Ejecuta el `n` comando del historial:
-
-`!{{n}}`
-
-- Ejecuta el comando `n` líneas atrás en el historial:
-
-`!-{{n}}`
-
-- Ejecuta el comando más reciente que contenga `cadena`:
-
-`!?{{cadena}}?`
-
-- Ejecuta el comando anterior, sustituyendo "cadena1" por "cadena2":
-
-`^{{cadena1}}^{{cadena2}}^`
-
-- Realiza una expansión del historial, pero imprimiendo el comando que se ejecutaría en lugar de ejecutarlo realmente:
-
-`{{!-n}}:p`

+ 0 - 36
pages.fr/common/histexpand.md

@@ -1,36 +0,0 @@
-# history expansion
-
-> Réutiliser et développer l'historique des commandes shell dans `sh`, `bash`, `zsh`, `rbash` et `ksh`.
-> Plus d'informations : <https://www.gnu.org/software/bash/manual/html_node/History-Interaction>.
-
-- Exécute de nouveau la commande précédente en tant que root (`!!` est remplacé par la commande précédente) :
-
-`sudo !!`
-
-- Exécute une commande avec le dernier argument de la commande précédente :
-
-`{{commande}} !$`
-
-- Exécute une commande avec le premier argument de la commande précédente :
-
-`{{command}} !^`
-
-- Exécute la `n`-ème commande de l'historique, en partant de la plus ancienne :
-
-`!{{n}}`
-
-- Exécute la `n`-ème commande de l'historique, en partant de la plus récente :
-
-`!-{{n}}`
-
-- Exécute la commande contenant `string` la plus récente :
-
-`!?{{string}}?`
-
-- Exécute la commande précédente, en remplaçant `string1` par `string2` :
-
-`^{{string1}}^{{string2}}^`
-
-- Effectue une expansion de l'historique, mais affiche la commande qui aurait du être exécutée au lieu de l'exécuter :
-
-`{{!-n}}:p`

+ 0 - 36
pages.ko/common/histexpand.md

@@ -1,36 +0,0 @@
-# history expansion
-
-> `sh`, Bash, Zsh, `rbash` 및 `ksh`에서 셸 기록을 재사용하고 확장.
-> 더 많은 정보: <https://www.gnu.org/software/bash/manual/html_node/History-Interaction>.
-
-- 루트로 이전 명령을 실행 (`!!`는 이전 명령으로 대체됨):
-
-`sudo !!`
-
-- 이전 명령의 마지막 인수를 사용하여 명령을 실행:
-
-`{{명령어}} !$`
-
-- 이전 명령의 첫번째 인수를 사용하여 명령을 실행:
-
-`{{명령어}} !^`
-
-- history의 N번째 명령을 실행:
-
-`!{{n}}`
-
-- history에서 `n`라인 명령을 다시 실행:
-
-`!-{{n}}`
-
-- `문자열`이 포함된 가장 최근 명령을 실행:
-
-`!?{{문자열}}?`
-
-- `문자열1`을 `문자열2`로 바꿔, 이전 명령을 실행:
-
-`^{{문자열1}}^{{문자열2}}^`
-
-- history 확장을 수행하지만, 실제로 실행하는 대신 실행될 명령을 출력:
-
-`{{!-n}}:p`

+ 0 - 36
pages.ru/common/histexpand.md

@@ -1,36 +0,0 @@
-# history expansion
-
-> Повторное использование и подстановка команд из списка истории в `sh`, Bash, Zsh, `rbash` and `ksh`.
-> Больше информации: <https://www.gnu.org/software/bash/manual/html_node/History-Interaction>.
-
-- Запустить предыдущую команду от имени суперпользователя (`!!` заменяется на предыдущую команду):
-
-`sudo !!`
-
-- Запустить команду с последним аргументом из предыдущей команды:
-
-`{{команда}} !$`
-
-- Запустить команду с первым аргументом из предыдущей команды:
-
-`{{команда}} !^`
-
-- Запустить `n`-ую с начала команду из истории:
-
-`!{{n}}`
-
-- Запустить `n`-ую с конца команду из истории :
-
-`!-{{n}}`
-
-- Запустить самую последнюю команду, содержащую `строка`:
-
-`!?{{строка}}?`
-
-- Запустить предыдущую команду, заменив `строка1` на `строка2`:
-
-`^{{строка1}}^{{строка2}}^`
-
-- Выполнить подстановку команд из списка истории и вывести на экран получившуюся команду, не запуская её:
-
-`{{!-n}}:p`

+ 1 - 1
pages/common/!.md

@@ -1,6 +1,6 @@
 # Exclamation mark
 
-> Bash builtin to substitute with a command found in history.
+> Reuse and expand the shell history in `sh`, Bash, Zsh, `rbash` and `ksh`.
 > More information: <https://gnu.org/software/bash/manual/bash.html#Event-Designators>.
 
 - Substitute with the previous command and run it with `sudo`:

+ 0 - 36
pages/common/histexpand.md

@@ -1,36 +0,0 @@
-# history expansion
-
-> Reuse and expand the shell history in `sh`, Bash, Zsh, `rbash` and `ksh`.
-> More information: <https://www.gnu.org/software/bash/manual/html_node/History-Interaction>.
-
-- Run the previous command as root (`!!` is replaced by the previous command):
-
-`sudo !!`
-
-- Run a command with the last argument of the previous command:
-
-`{{command}} !$`
-
-- Run a command with the first argument of the previous command:
-
-`{{command}} !^`
-
-- Run the Nth command of the history:
-
-`!{{n}}`
-
-- Run the command `n` lines back in the history:
-
-`!-{{n}}`
-
-- Run the most recent command containing `string`:
-
-`!?{{string}}?`
-
-- Run the previous command, replacing `string1` with `string2`:
-
-`^{{string1}}^{{string2}}^`
-
-- Perform a history expansion, but print the command that would be run instead of actually running it:
-
-`{{!-n}}:p`

+ 1 - 1
scripts/wrong-filename.sh

@@ -10,7 +10,7 @@ OUTPUT_FILE="inconsistent-filenames.txt"
 rm -f "$OUTPUT_FILE"
 touch "$OUTPUT_FILE"
 
-IGNORE_LIST=("caret" "curly brace" "dollar sign" "dot" "exclamation mark" "tilde" "percent sign" "history expansion" "qm move disk" "umount" "rename" "pacman  d" "pacman  f" "pacman  q" "pacman  r" "pacman  s" "pacman  t" "pacman  u" "parted")
+IGNORE_LIST=("caret" "curly brace" "dollar sign" "dot" "exclamation mark" "tilde" "percent sign" "qm move disk" "umount" "rename" "pacman  d" "pacman  f" "pacman  q" "pacman  r" "pacman  s" "pacman  t" "pacman  u" "parted")
 
 set -e