Hi,
something like
cat design.fsf | \
sed "s/inputfile1/inputfile2/g" | \
cat >design.fsf
should do the trick. At least, that's how I do it. Look up the "sed"
documentation for more tricks.
Hth
Cornelius
On Tue, Jun 21, 2011 at 4:42 PM, Enzo Tagliazucchi <[log in to unmask]> wrote:
> Hi all,
>
> I've created a design (design.fsf) with Feat and want to run it on several subjects. Is there a simple way to change the input filename when I run the script (using "feat design.fsf") so I can interface it with a more general bash script?
>
> Thank you very much for your help,
>
> Enzo
>
--
Dr. med. Cornelius J. Werner
Department of Neurology
RWTH Aachen University
Pauwelsstr. 30
52074 Aachen
Germany
|