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

21
pages.zh/common/ifs.md Normal file
View File

@@ -0,0 +1,21 @@
# IFS
> IFS内部字段分隔符是一个特殊的环境变量用于定义在Unix shell中进行单词拆分时使用的分隔符。
> IFS的默认值是空格、制表符和换行符。这三个字符作为分隔符使用。
> 更多信息:<https://www.gnu.org/software/bash/manual/html_node/Word-Splitting.html>。
- 查看当前的IFS值
`echo "$IFS"`
- 修改IFS值
`IFS="{{:}}"`
- 将IFS重置为默认值
`IFS=$' \t\n'`
- 在子shell中临时改变IFS值
`(IFS="{{:}}"; echo "{{one:two:three}}")`