dke-questions > RE: Problems running in batch mode on linux
Oct 15, 2018  11:10 AM | Live Eikenes
RE: Problems running in batch mode on linux
Dear Emilie

Thanks for your suggestion. I tried the following:

#!/bin/bash
export ID_file=id_mTBI.txt
SUBJ_IDs=$(cat $ID_file)
for ID in $SUBJ_IDs ; do
./dke /home/eikeliv/Documents/MILD_TBI_DKE/test_loop_dke/${ID}/${ID}.dat
done

But got the following error message:

eikeliv@ntnu14028:~/dke$ ./runDKE_mTBI_test.sh
bash: ./runDKE_mTBI_test.sh: /bin/bash^M: bad interpreter: No such file or directory

But I cannot figure out what is wrong.

Best,
Live

Threaded View

TitleAuthorDate
Live Eikenes Oct 3, 2018
RE: Problems running in batch mode on linux
Live Eikenes Oct 15, 2018
Corinne McGill Oct 15, 2018
Live Eikenes Oct 15, 2018
David Lewis Oct 15, 2018
Emilie McKinnon Oct 12, 2018
David Lewis Oct 3, 2018
Live Eikenes Oct 4, 2018