add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,21 +1,21 @@
# Caret
# 插入符号
> Bash 内置命令,用于快速替换上一命令中的字符串并运行结果。
> 于 `!!:s^string1^string2`。
> 更多信息:<https://gnu.org/software/bash/manual/bash.html#Event-Designators>.
> Bash 内置命令,用于快速替换上一命令中的字符串并运行结果。
> 于 `!!:s^string1^string2`。
> 更多信息请访问<https://gnu.org/software/bash/manual/bash.html#Event-Designators>
- 运行上一命令,将 `字符串 1` 替换为 `字符串 2`
- 运行上一命令,将 `string1` 替换为 `string2`
`^{{字符串 1}}^{{字符串 2}}`
`^{{string1}}^{{string2}}`
- 从上一命令中移除 `字符串 1`
- 从上一命令中移除 `string1`
`^{{字符串 1}}^`
`^{{string1}}^`
- 在上一命令中将 `字符串 1` 替换为 `字符串 2`并在末尾添加 `字符串 3`
- 在上一命令中将 `string1` 替换为 `string2` 并在末尾添加 `string3`
`^{{字符串 1}}^{{字符串 2}}^{{字符串 3}}`
`^{{string1}}^{{string2}}^{{string3}}`
- 替换所有出现的 `字符串 1`
- 替换所有 `string1` 的出现
`^{{字符串 1}}^{{字符串 2}}^:&`
`^{{string1}}^{{string2}}^:&`