The shebang line was the thing that was needed, thanks!  Interesting that bash 
doesn't need one.  I don't recall seeing in the fish documentation that it's 
required; maybe only on some OS's?
Al




________________________________
From: Isaac Dupree <[email protected]>
To: Ben Hoskings <[email protected]>
Cc: Al Chou <[email protected]>; [email protected]
Sent: Monday, August 24, 2009 11:33:20 AM
Subject: Re: [Fish-users] can't run simple shell scripts in 1.23.1 port on Mac 
OS X 10.4.11

Ben Hoskings wrote:
> On 25/08/2009, at 12:46 AM, Al Chou wrote:
>> I feel like I must be missing something really basic, as simple (1- line) 
>> shell scripts always fail and make fish say: exec: Value too  large to be 
>> stored in data type.
>> 
> In my experience, 'Value too large to be stored in data type' can be  caused 
> by nonexistent files (check my recent bugreport about setting  the PATH when 
> one of the elements doesn't exist).

do you need to say
./bin/cccc
?
(mainly if '.' is not on your path, which it probably isn't by default for 
security/predictability reasons)

Also it's true, your file either: needs to have the executable permissions set, 
and start with a #! line,
or I suppose you could run inside your shell-session using
source bin/cccc
(or maybe this line also needs to use "./bin/cccc", not sure)

-Isaac



      
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to