My mistake. As you said I was using ' instead of `. 
Thanks Matthew

On Thu, Feb 21, 2019 at 11:33 AM Matthew Webster <[log in to unmask]> wrote:
Hello,
Can you confirm the contents of .filelist is a list of your input files, and can you double check that the “ were switched to backticks (`) and not single-quotes (‘)?

Kind regards
Matthew
--------------------------------
Dr Matthew Webster
FMRIB Centre 
John Radcliffe Hospital
University of Oxford

On 21 Feb 2019, at 16:28, Ali Golestani <[log in to unmask]> wrote:

No. I still get the same error mistake

On Thu, Feb 21, 2019 at 11:27 AM Matthew Webster <[log in to unmask]> wrote:
Hello,
  Did the error message change when you switched “ to `?

Kind Regards
Matthew
--------------------------------
Dr Matthew Webster
FMRIB Centre 
John Radcliffe Hospital
University of Oxford

On 21 Feb 2019, at 11:59, Ali Golestani <[log in to unmask]> wrote:

Still does not work. Any idea why?

On Thu, Feb 21, 2019 at 6:19 AM Paul Zhutovsky <[log in to unmask]> wrote:
Hi!

You need to change your quotation marks around cat .filelist from " to ` 
Just use:

dual_regression 7Networks_MNI4mm.nii.gz 1 Design.mat Design.con 5000 output `cat .filelist`

Cheers,
Paul



On Wed, Feb 20, 2019 at 8:34 PM Ali Golestani <[log in to unmask]> wrote:
Hi;
I am trying to run dual regression on an Ubuntu system using the following command (all the files are copied to current directory):
dual_regression 7Networks_MNI4mm.nii.gz 1 Design.mat Design.con 5000 output "cat .filelist"

But I get this error message:
/usr/local/fsl/bin/dual_regression: 126: [: _cat: unexpected operator
creating common mask
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
doing the dual regressions
sorting maps and running randomise

And then it stops.
Can anyone help me to figure out what causes this problem?

Thanks
Ali

########################################################################

To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1


To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1



To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1




To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1



To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1




To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1



To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1