Hi Catherine
It looks like you need to change the first line of the script to:
/bin/bash
Cheers, Sean
> On 7 May 2019, at 02:59, Catherine Mewborn <[log in to unmask]> wrote:
>
> Thank you for the quick reply. I was, in fact, not running them as two command lines. Still encountering some problems. I have the ec_plot.sh.txt file stored in my home directory (~). I am running the command from another directory where the .ecclog file is stored (named ABELD001_eddy.ecclog). See below for the two commands I entered:
>
> [cmewborn@psygtfs1 MR]$ chmod 755 ~/ec_plot.sh.txt
> [cmewborn@psygtfs1 MR]$ ~/ec_plot.sh.txt ABELD001_eddy.ecclog
>
> When I do this, I get an error message which says:
> -bash: /home/millerlab/cmewborn/ec_plot.sh.txt: /bin/sh^M: bad interpreter: No such file or directory
>
> Any suggestions for what I should try next?
>
> ########################################################################
>
> To unsubscribe from the FSL list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|