a painful problem# Unix - 噫吁兮,危乎高哉
f*y
1 楼
I have this problem:
a csh script.. I cannot run it as a command, the error is: command not
found,sth.like that. even it is in the current directory. but If I input each
line of that csh script after the prompt, no problem.
Usually, I alway put first line as "#!/bin/csh", if I remove this, the error
would be different, saying one line in the script has syntax error, even
actually no any syntax error in that line at all.
I have this kind of problem occasionally, really painful.. anybody has semi
a csh script.. I cannot run it as a command, the error is: command not
found,sth.like that. even it is in the current directory. but If I input each
line of that csh script after the prompt, no problem.
Usually, I alway put first line as "#!/bin/csh", if I remove this, the error
would be different, saying one line in the script has syntax error, even
actually no any syntax error in that line at all.
I have this kind of problem occasionally, really painful.. anybody has semi