I wrote the following script to learn to read and write files. No matter how I try to start it it doesn't work.
#!/bin/bash shopt -s -o nounset declare LINE exec 3< test.dat while read LINE <&3 ; do printf "%s\n" "$LINE" done exit 0 this is the error [EMAIL PROTECTED] scripts]# ./test.sh : bad interpreter: No such file or directory [EMAIL PROTECTED] scripts]# can someone point me in the write direction? thanks again Dave - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs