我有一个简单的shell脚本: #!existent/path-------------------------------------------------------------- 但是,如果我取消注释包含gitk调用的行/test.sh: 14: cd: can't cd to /non/existent/path 请注意,带有破折号的那条线不再位于末尾。知道为什么会这样吗?我还注意到,如果我去掉该行末尾的</e
我有一个bash脚本,它执行gnuplot:# some bash scripting here# some gnuplot scripting here如果脚本wa执行,我返回到通常的终端输入。但是,我想要的是gnuplot命令提示符保持打开状态,这样我就可以输入gnuplot命令,以便进一步操作这个图。
这有可能吗?