History of AFNI updates  

|
April 30, 2018 12:00PM
I'm pretty sure that the "illegal variable name" is the "$(2)" in your sub-brick selector "[0..$(2)]". Put this in 'single quotes' (and also change "[1..$(2)]" to '[1..$(2)]') and try again. The $subj is OK.

Inside "double quotes", the shell expands $variablename -- but you can't have a variable named '(2)'. Inside 'single quotes', everything is passed through without shell interpretation. So unless you are actually using shell variables inside a sub-brick selector, the safest thing to do is use single quotes.
Subject Author Posted

Spiral in Spiral out data issue

Mehereen & Jon June 15, 2011 04:39PM

Re: Spiral in Spiral out data issue

Daniel Glen June 15, 2011 06:29PM

Re: Spiral in Spiral out data issue

rick reynolds June 15, 2011 06:51PM

Re: Spiral in Spiral out data issue

SarahChang April 27, 2018 03:55PM

Re: Spiral in Spiral out data issue

RWCox April 30, 2018 12:00PM

Re: Spiral in Spiral out data issue

Jonathan June 16, 2011 02:07AM