From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Bash script Date: 26 Oct 1998 15:25:49 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 24 Message-ID: <71249t$m2j$1@antares.lu.erisoft.se> References: <915C65C50371D11187AD0000F881B9A401858CEF AT bcarua62 DOT ca DOT nortel DOT com> NNTP-Posting-Host: mars.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ian Chapman (Ian DOT Chapman DOT ichapman AT nt DOT com) wrote: : Hi dj pen pals, : I've been working through some examples of sed and awk and met an : odd problem. I've typed the script file byState and executed with : "sed -f nameState list | byState" : but it gave : :- bash e:/djgpp/bin: Permission denied (EACCES) [Klippa, klapp, kluppit.] : byState : #! e:/djgpp/bin What kind of script is it? bash? Then the line above should read "#! e:/djgpp/bin/bash". Adjust according for the right kind of interpreter. [Klippa, klapp, kluppit rest of script.] Right, MartinS