Hello,
I am having a tcsh scripting problem for generating a text file containing the list of subjects, and I would appreciate any help. I've explained my problem here:
http://stackoverflow.com/q/20617206/2769441
All the best, Emad
Hello Emad,
Considering your output when you run this from the source command generates only the first subject in your list, I would check to see if there is a looping issue. Because you are no longer within the same directory as when you ran it from the terminal, the script may not be returning to the same homedir. I would add in a CD command as the last line of your for loop and see if that fixed the problem.
I hope this helps,
Jacob
Hello,
I am having a tcsh scripting problem for generating a text file containing the list of subjects, and I would appreciate any help. I've explained my problem here:
http://stackoverflow.com/q/20617206/2769441
All the best, Emad _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Make sure you have a carriage return after your "end" statement (I'd add a few) doug
On 12/16/2013 04:24 PM, Emad Ahmadi wrote:
Hello,
I am having a tcsh scripting problem for generating a text file containing the list of subjects, and I would appreciate any help. I've explained my problem here:
http://stackoverflow.com/q/20617206/2769441
All the best, Emad _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu