shell(4)字符串 Posted on 2025-04-02 Views: 1.字符串符号 ‘str1’ 单引号是强引用,原样输出 “str1” 双引号弱引用,支持部分字符串含义($…) str1 命令执行 2. 字符串长度在 Shell 中,可以使用 `$