On 2/10/11 at 01:36, dougl...@macnauchtan.com (Doug McNutt) wrote:
What I was thinking is that running the shell script from
within bbedit might be done by the Bare Bones folks using
procedures that come through AppleScript.. Somewhere I got the
idea that your script runs fine from a
On 1/10/11 at 02:50, dougl...@macnauchtan.com (Doug McNutt) wrote:
Your file may need to have it's execute permissions bit set.
Bash is a default for shell scripts. You might not need it and without it the
text file, executable or not, would be passed to bash by default.
It's amusing to see
Good evening,
On 2/10/11 at 7:51 AM +0100, Phil Dobbin phildob...@gmail.com wrote:
I did set the execute permissions a la:
Check your line breaks in the script file; are they set to LF or CR?
What happens when you run the script from Terminal?
Charlie
--
Ꮚ Charlie Garrison ♊
At 15:13 +0100 10/2/11, Phil Dobbin wrote:
I got it working on the command line by cd'ing to the directory it was located
in giving it an absolute path using ~/
AppleScript is well known for not running startup scripts for shells. Your
$PATH variable may not be what you think..
That tilde I
Hi, all.
I'm trying to run a shell script I'm getting This file doesn't
appear to contain a valid 'shebang' line
(application error code: 13304). Shebang line in my script is: '#! /
bin/bash'. Pretty stock 10.6.8 install with bash in /bin /bin is in
my $PATH. Using BBEdit 9.6.3.
Any help
Hey Phil,
It looks like you have a space in your shebang line where it shouldn't be. The
line should look like:
#!/bin/bash
not:
#! /bin/bash
Try that.
Have a good day,
Chip
On Oct 1, 2011, at 9:18 AM, phildobbin wrote:
I'm trying to run a shell script I'm getting This file doesn't
At 15:30 -0500 1/10/11, Chip Warden wrote:
It looks like you have a space in your shebang line where it
shouldn't be. The line should look like:
#!/bin/bash
not:
#! /bin/bash
I know Wikipedia occasionally gives a bum steer
http://en.wikipedia.org/wiki/A_bum_steer
but here's what it says
On 1/10/11 at 21:30, chip.war...@gmail.com (Chip Warden) wrote:
It looks like you have a space in your shebang line where it
shouldn't be. The line should look like:
#!/bin/bash
not:
#! /bin/bash
Hi, Chip.
I did notice the erroneous space deleted it but it still
throws the same error.
At 23:18 +0100 10/1/11, Phil Dobbin wrote:
On 1/10/11 at 21:30, chip.war...@gmail.com (Chip Warden) wrote:
It looks like you have a space in your shebang line where it shouldn't be.
The line should look like:
#!/bin/bash
not:
#! /bin/bash
Hi, Chip.
I did notice the erroneous space deleted
It's amusing to see what happens when bbedit or AppleScript creates an
instance of bash which then creates yet another instance of bash because of
the #! line. It makes one wonder just how smart the UNIX kernel is.
--
That's not exactly a kernel responsibility.
- Steve
--
You received
10 matches
Mail list logo