External Email - Use Caution        

Hello Fleur,



You should be able to do,

  


$ file `which infant_recon_all`
.... and the output should tell you if it it is a csh script, a Bourne shell 
script, a binary, etc.





Unless you explicitly made csh or bash your default shell, then at 
the dollar sign prompt the default shell in Ubuntu is "dash" and not 
bash or Bourne shell.   If the file command reports it's a Bourne shell 
then it might be a bash script.  Or a bash script with a hash bang line of 
/bin/sh will run using dash shell on Ubuntu and can exit with that error on 
bash syntax/grammar.  You can eliminate that possibility by first running 
bash, and then the script,




$ bash
$ infant_recon_all --s SUBJ --age AGE
(with I presume arguments substituted for SUBJ and AGE)


- R.

                Fleur Warton        May 20, 2020 at 04:05    
          External Email - Use 
Caution        Hi,
I recently installed the Infant FreeSurfer package. When I try to 
run infant_recon_all (specific command: infant_recon_all --s SUBJ --age 
AGE)
 I get the error 
if: Expression Syntax
I tried switching shells from bash to tcsh but got the same error.

The FreeSurfer version is freesurfer-infant-20200205My platform is Ubuntu 18.04
Any suggestions how to fix this?
Kind regards,
Fleur

 


_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer






_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to