On 2 Apr 2010, at 10:52, Michael Lachmann wrote:
>
> I think when fish is invoked for a script, it shouldn't parse the
> arguments that are meant for the script...
>

I think one solution is to add a '+' to the beginning of the options  
string in fish.c:
#define GETOPT_STRING "+hilnvc:p:d:"

That will stop options processing once the script name is hit.

Michael

>
> On 2 Apr 2010, at 8:09, Isaac Dupree wrote:
>
>> On 04/02/10 01:31, David Frascone wrote:
>>> Found and fixed.  There were several issues.  First, most people
>>> who type
>>> seq are really running seq on their host.  Fish will only use the
>>> builtin if
>>> it doesn't find it locally.  Use 'seq --version' to see what I mean.
>>
>> of course seq is /usr/bin/seq ! (or wherever it is on your path.)  
>> What
>> does it have to do with Fish? How can Fish have a possibly-a-builtin,
>> possibly-not?(for me, 'type seq' just says 'seq is /usr/bin/seq' ...)
>> Isn't it against Fish's philosophy to duplicate external tools that
>> don't need to be built into a shell?
>>
>> Is Mac OS X 'seq' broken, under-featured, (or nonexistent?)?  I
>> would be
>> unsurprised.  In 10.3 (the last version I used regularly), I know  
>> they
>> shipped a version of 'find' that enjoyed segfaulting (or some weird
>> error, I forget exactly) when you forgot that their version of the
>> 'find' command didn't support omitting the path bit (you had to pass
>> '.'). Admittedly, I think they just copied the tools from BSD, but
>> that
>> doesn't mean they were good tools...
>>
>> -Isaac
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Fish-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to