From: cdl@mpl.ucsd.edu (Carl Lowenstein)
Subject: [pups] Installing begemot
Date: Thu, 12 Aug 2004 16:01:22 -0700 (PDT) [thread overview]
Message-ID: <200408122301.i7CN1MX01938@opihi.ucsd.edu> (raw)
> Date: Thu, 12 Aug 2004 18:49:11 +0100
> To: "Greg 'groggy' Lehey" <grog at lemis.com>
> From: Robin Birch <robinb at ruffnready.co.uk>
> Subject: Re: [pups] Installing begemot
> I have a different problem as well. There is something broken in the
> configuration of this computer!!!!! If I execute a shell file by going
> /bin/sh filename then it works ok but if I try running a shell script
> with #!/bin/sh in the first line I get a bad permission error. This is
> preventing me from running make scripts and all sorts of things. Any
> ideas?
Yes. See the following transcript of a session. I created a small
script named "bad" which just does "date" to show that it worked.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
iota: try 1107$ ls -l bad
-rwxrwxr-x 1 cdl cdl 16 Aug 12 15:56 bad*
iota: try 1108$ /bin/sh bad
Thu Aug 12 15:57:37 PDT 2004
iota: try 1109$ ./bad
: bad interpreter: No such file or directory
iota: try 1110$ cat bad
#!/bin/sh
date
iota: try 1111$ od -c bad
0000000 # ! / b i n / s h \r \n d a t e \n
0000020
iota: try 1112$
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Note that there is a '\r' character at the end of the #! line.
carl
--
carl lowenstein marine physical lab u.c. san diego
clowenst at ucsd.edu
next reply other threads:[~2004-08-12 23:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-12 23:01 Carl Lowenstein [this message]
2004-08-12 23:29 ` Steven M. Schultz
2004-08-13 7:19 ` Robin Birch
2004-08-13 7:33 ` Greg 'groggy' Lehey
2004-08-13 10:29 ` robinb
2004-08-13 12:36 ` Bill Gunshannon
2004-08-13 10:33 ` robinb
2004-08-12 23:46 ` Paul Ward
2004-08-13 7:15 ` Robin Birch
[not found] <7AD18F04B62B7440BE22E190A3F772140F6047@mwsrv04.microwalt.nl>
2004-08-12 20:27 ` Robin Birch
-- strict thread matches above, loose matches on Subject: below --
2004-08-11 17:28 Robin Birch
2004-08-11 23:54 ` Greg 'groggy' Lehey
2004-08-12 17:49 ` Robin Birch
[not found] ` <411BBDD3.3050400@sun.com>
2004-08-12 20:29 ` Robin Birch
[not found] ` <411BD929.4080009@sun.com>
2004-08-12 21:14 ` Robin Birch
2004-08-12 20:39 ` Warren Toomey
2004-08-12 21:12 ` Robin Birch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408122301.i7CN1MX01938@opihi.ucsd.edu \
--to=cdl@mpl.ucsd.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).