[MINC-users] minclookup unexpected behaviour
Paul GRAVEL
pgravel at bic.mni.mcgill.ca
Mon Jul 29 08:27:30 EDT 2013
Thanks Andrew, your method does work!
Interestingly, if I echo the command using the double quotes as you
mentioned, and then I copy/paste the command it does not work. However,
calling it from the script, it does... I guess there are some shell
subtleties I don't understand...
Best,
Paul
On Sat, 27 Jul 2013, Andrew Janke wrote:
> Hi Paul,
>
>> I have this odd behaviour when I run minclookup to extract labels passed as
>> a for loop variable (actually the variable is label_no).
>>
>> echo minclookup -discrete -lut_string "'$label_no $label_no'"
>
> Without testing, I think you just want this:
>
> minclookup -discrete -lut_string "$label_no $label_no" ...
>
> in your shell script.
>
>
> a
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
More information about the MINC-users
mailing list