This is less an AFNI question and more a general issue I'm having running shell scripts on a MacBook Pro. I've got a simple script I'd like to run that looks like:
#!/bin/tcsh -f
####
# map functional data to surface for pretty pictures
####
3dVol2Surf \
-spec /Applications/X11Apps/AFNI_old/suma_tlrc/N27_both_tlrc.spec \
-surfA /Applications/X11Apps/AFNI_old/suma_tlrc/lh.smoothwm.tlrc.ply \
-surfB /Applications/X11Apps/AFNI_old/suma_tlrc/lh.pial.tlrc.ply \
-sv TT_N27+tlrc \
-grid_parent ANOVA3+tlrc[3] \
-cmask '-a ANOVA3+tlrc[2] -b ANOVA3+tlrc[3] -expr b*step(a)' \
-map_func ave \
-f_steps 10 \
-f_index voxels \
-outcols_NSDformat \
-out_niml ANOVA3_AVFDiff_LH.niml.dset
When I run it via command line in a terminal window opened via the X11 application, I get no error but nothing gets output either. I created the script using TextEdit (plain text) and made the file executable via chmod. Any help would be greatly appreciated.
Thanks,
Adam