Hello guys,
I am having a peculiar problem and i can't find out what is problem. I have this script from my linux distribution
At the source line, the program asks for the user to type sswidlde to begin the GUI of a program called IDL.
so, i have give the
and when i run in terminal
Now, if run the script line by line in the terminal, as
The program starts!
What is wrong with the script?
I am having a peculiar problem and i can't find out what is problem. I have this script from my linux distribution
#!/bin/tcsh
setenv SSW /usr/local/ssw
setenv SSW_INSTR "gen plastic impact ontology secchi eis xrt trace aia hmi chianti"
source $SSW/gen/setup/setup.ssw
sswidlde
At the source line, the program asks for the user to type sswidlde to begin the GUI of a program called IDL.
so, i have give the
chmod 777 script.sh
and when i run in terminal
It returns$./script.sh
(the printed message from the source command). But it does not begin.Type <sswidlde> to start SSW IDL
Now, if run the script line by line in the terminal, as
$tcsh
>setenv SSW /usr/local/ssw
>....
Type <sswidlde> to start SSW IDL
>sswidlde
The program starts!
What is wrong with the script?