问题描述
当使用 PS1='>>> '
和 PS2='... '
时,输入多行命令看起来像
>>> for file in *.txt; do
... echo "-- $file"
... cat "$file"
... done
(Here goes the output)
然而,在编辑命令时,PS2
被忽略,我看到了。
>>> for file in *.txt; do
echo "-- $file"
cat "$file"
done
(Here goes the output)
注意输出和命令是如何不再清晰分开的。
是否可以使其更加一致,即多行编辑要尊重 PS2
?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)