Commit efa02ee8 authored by Michael Krause's avatar Michael Krause 🎉
Browse files

Fix bash syntax highlighting

parent 3dcc9863
......@@ -36,16 +36,16 @@ for all combinations of subjects and runs in parallel all in one go:
.. code-block:: bash
for subject in ID1 ID2 ID3; do
for subject in ID1 ID2 ID3; do
for run in 1 2 3 ; do
# create a copy of the template with a unique name
cp design.template $featfile
# replace the placeholder by actual values
sed -i "s|%SUBJECT%|$subject|g" $featfile
sed -i "s|%RUN%|$run|g" $featfile
# submit the feat command with the current design file
sbatch --wrap ". /etc/profile ; module load fsl ; feat $featfile"
......@@ -62,7 +62,7 @@ parallelize over a number of subjects. Example:
.. code-block:: bash
for icadir in *ica ; do
echo '#!/bin/bash" >
echo "#!/bin/bash" >
echo "module load fsl_fix" >>
echo "source /etc/fsl/5.0/" >>
echo "fix ${icadir} /opt/software/fix/1.06/training_files/Standard.RData 20" >>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment