Date: Mon, 7 Jul 1997 12:37:12 -0400 (EDT) From: "Art S. Kagel" To: Eli Zaretskii Cc: Fred Smith , djgpp AT delorie DOT com Subject: Re: stubify/stubedit In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sun, 6 Jul 1997, Eli Zaretskii wrote: > > On Fri, 4 Jul 1997, Fred Smith wrote: > > > I would like to create a "link" using stubify/stubedit which passes > > certain parameters to the linked-to program in addition to the argv[0] > > which it now supports. There does not at this time appear to be any way > > to do that. > > > > Would/could the gurus who understand those programs give me a hint > > as to whether it is even feasible, were I to undertake to do it myself? > > You are talking about alias, not a symlink. A symlink is just a > > I don't think you can easily change this, since it requres numerous No but what you can do is to create the symbolic link and in your program change the default options that you assume according the the value of argv[0]. This is how grep/fgrep/egrep work. I have written many programs of this type. Art S. Kagel, kagel AT bloomberg DOT com