我发现它发生是因为它拆分了输入的参数。但我正在创建一个加密字符串的程序,并将“测试”加密为|m{|
. 但是当我切换到解密模式时,事情就会发生。任何解决方案?
在>
来自bash
的$PS2
变量。man bash
说:
PS2 The value of this parameter is expanded as with PS1 and used as the secondary prompt string. The default is ``> ''.
Run Code Online (Sandbox Code Playgroud)
我经常看到>
当我有一个不匹配的引号 ( "
) 或撇号 ( '
) 或其他一些被bash
视为不完整的输入时。