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
>
>
>
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to