delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/26/10:50:58

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019