Skip to content
Snippets Groups Projects
Commit 9377da3a authored by Mark Jenkinson's avatar Mark Jenkinson
Browse files

Got rid of head -1

parent 55397cd3
No related branches found
No related tags found
No related merge requests found
......@@ -22,5 +22,5 @@ then
export FSLDIR
fi
#$FSLDIR/bin/avwhd $1 | cat -v | grep $2 | head -1 | awk '{print $2 $3}'
$FSLDIR/bin/avwhd $1 | cat -v | grep $2 | head -1 | awk '{ for (i = 2; i <= NF; i++) printf "%s ", $i ; printf "\n" }'
#$FSLDIR/bin/avwhd $1 | cat -v | grep $2 | head -n 1 | awk '{print $2 $3}'
$FSLDIR/bin/avwhd $1 | cat -v | grep $2 | head -n 1 | awk '{ for (i = 2; i <= NF; i++) printf "%s ", $i ; printf "\n" }'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment