[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Success, to some extent



tb@MIT.EDU (Thomas Bushnell, BSG) writes:

> Gordon Matzigkeit <gord@trick.fig.org> writes:

> > It's gross when the name of the file affects the script's basic
> > behaviour, but very, very useful and pretty when it's used only for
> > error messages.

> That's a different thing.  Error messages should always use argv[0]
> which we aren't changing at all.

I take it back.  In #! execution the original argv[0] gets dropped, so
the only thing available for errors is the script name.  So as gord
points out, this really is part of the problem. 


Reply to: