tcshスクリプトをbashスクリプトに変換しようとしています。このスクリプトは、次のようにgnuplotを呼び出します。
#!/bin/tcsh
<script commands>
gnuplot << EOF
set terminal png
<other commands>
plot <args>
'tcsh'を'bash'に変更しようとしましたが、 "here-document at line x delimited by end-of-file(wanted` EOF')"が表示されます。どうしてこれなの ?