Hi,
I finally managed to do a bugfix release for Ubuntu that fixes the
problems with the fsl_sub script not working properly with the default
dash shell.
Please update your packages.
Cheers,
Michael
On Thu, Aug 30, 2007 at 08:47:29AM +0100, Tim Behrens wrote:
> Hi this sounds like the same problem Michael has resolved before - here is
> his previous answer:
>
> Cheers
>
> T
>
> ...
> This seems to be a reincarnation of a POSIX-incompatibility recently
> reported for the 'fsl_sub' script. For a workaround, please modify the
> scripts first line to:
>
> #!/bin/bash
>
>
> Cheers,
>
> Michael
>
>
>
> On 30 Aug 2007, at 04:34, Ananth Narayanan wrote:
>
>> I just installed Ubuntu Feisty something (v7.04) Linux and FSL v4.0 on my
>> computer and I get the following error when I try to run FEAT. Can someone
>> please explain to me what is wrong? Thanks.
>>
>> ***************************
>> Progress Report / Log
>> Started at Wed Aug 29 23:31:52 EDT 2007
>>
>> Feat main script
>>
>> /bin/cp /tmp/feat_zNxuWa.fsf design.fsf
>>
>> /usr/share/fsl/bin/feat_model design
>>
>> /usr/share/fsl/bin/fsl_sub -T 7 -l logs -N feat2_pre
>> /usr/share/fsl/bin/feat
>> /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat/design.fsf
>> -D /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat -I
>> 1
>> -prestats
>> [: 300: ==: unexpected operator
>> [: 387: ==: unexpected operator
>> [: 387: -le: argument expected
>> 7426
>>
>> /usr/share/fsl/bin/fsl_sub -T 7 -l logs -N feat3_film -j 7426
>> /usr/share/fsl/bin/feat
>> /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat/design.fsf
>> -D /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat
>> -film
>> [: 300: ==: unexpected operator
>> [: 387: ==: unexpected operator
>> [: 387: -le: argument expected
>> 7446
>>
>> /usr/share/fsl/bin/fsl_sub -T 0 -l logs -N feat4_post -j 7446
>> /usr/share/fsl/bin/feat
>> /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat/design.fsf
>> -D /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat
>> -poststats 0 0
>> [: 300: ==: unexpected operator
>> [: 387: ==: unexpected operator
>> [: 387: -le: argument expected
>> 7457
>>
>> /usr/share/fsl/bin/fsl_sub -T 30 -l logs -N feat5_reg -j 7426
>> /usr/share/fsl/bin/feat
>> /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat/design.fsf
>> -D /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat -I
>> 1 -reg
>> [: 300: ==: unexpected operator
>> [: 387: ==: unexpected operator
>> [: 387: -le: argument expected
>> 7468
>>
>> /usr/share/fsl/bin/fsl_sub -T 15 -l logs -N feat4_post -j 7457,7468
>> /usr/share/fsl/bin/feat
>> /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat/design.fsf
>> -D /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat
>> -poststats 1 0
>> [: 300: ==: unexpected operator
>> [: 387: ==: unexpected operator
>> [: 387: -le: argument expected
>> 7479
>>
>> /usr/share/fsl/bin/fsl_sub -T 1 -l logs -N feat5_stop -j
>> 7426,7446,7479,7468
>> /usr/share/fsl/bin/feat
>> /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat/design.fsf
>> -D /home/ananth/Desktop/Autism/Categories/Drug1/A01_V2_Categories.feat
>> -stop
>> *****************************
--
GPG key: 1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050
|