Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery]gaze search

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • To: Nick Jennings <nkj AT namodn.com>
  • Cc: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery]gaze search
  • Date: Thu, 12 Sep 2002 09:02:20 -0400 (EDT)

A rather hurried example/explanation of the parameter parsing code I've
been using for my own scripts. It wasn't a patch... just another (much
better if I may say so ;) way of doing the parameters.

On Tue, 10 Sep 2002, Nick Jennings wrote:

> Sent through? what do you mean?
>
> Did he send a patch to you? if so, I'll let you add it (don't want to
> re-do someone else's work).
>
> On Tue, Sep 10, 2002 at 01:07:21PM -0500, Ryan Abrams wrote:
> > Dufflebunk sent through a new params parse to put at the beginning of gaze
> > that would allow a toggle. Havent had time to add it yet, but will tonight
> > if you dont get there first.
> >
> > -Ryan
> >
> > ----- Original Message -----
> > From: "Nick Jennings" <nkj AT namodn.com>
> > To: "Ryan Abrams" <rabrams AT sourcemage.org>
> > Cc: "Mads Laursen" <dossen+sgl AT daimi.au.dk>;
> > <sm-sorcery AT lists.ibiblio.org>
> > Sent: Tuesday, September 10, 2002 12:53 PM
> > Subject: Re: [SM-Sorcery]gaze search
> >
> >
> > > So, if your in some other scripting language you have to send out a
> > > call to set some environment variable before you call gaze? If I
> > understand
> > > correctly, i don't think that's sufficient support. I'll look into
> > > adding a command-line toggle.
> > >
> > >
> > > On Mon, Sep 09, 2002 at 04:06:13PM -0500, Ryan Abrams wrote:
> > > > Done.
> > > >
> > > > If GAZE_VERBOSE is set to 0 it will use old style search results.
> > Anything
> > > > else will get you the new hotness.
> > > >
> > > > -Ryan
> > > >
> > > > ----- Original Message -----
> > > > From: "Mads Laursen" <dossen+sgl AT daimi.au.dk>
> > > > To: "Ryan Abrams" <rabrams AT sourcemage.org>
> > > > Cc: <sm-sorcery AT lists.ibiblio.org>
> > > > Sent: Monday, September 09, 2002 4:01 PM
> > > > Subject: Re: [SM-Sorcery]gaze search
> > > >
> > > >
> > > > > On 09/09/02 15.31, Ryan Abrams wrote:
> > > > > > How about I make gaze check for a sorcery config option. If it's
> > > > disabled,
> > > > > > it uses old style. if it's enabled it uses new style. and I will
> > > > > > add
> > > > a -v
> > > > > > flag to toggle that setting to the other.
> > > > > >
> > > > > > Sound decent, or would an environment variable be better than a
> > sorcery
> > > > > > config option?
> > > > > >
> > > > > I'm not at my box at the moment, but I seem to recall that the
> > > > > sorcery
> > > > > options are set with something like var=${var:=arg}, or something
> > > > > like
> > > > > it, which keeps the value of the environment variable.
> > > > >
> > > > > Done like that the power of bash should give us the best of both
> > > > > worlds.
> > > > >
> > > > > And if not either way will probably be fine (at least by me), as
> > > > > long
> > > > > as a "persistent" setting is available (heck, if it was
> > > > > hard/impossible (NOT saying that it is) I would live without).
> > > > >
> > > > > So if this was helpful I will look forward to seeing your
> > > > > implementation, and thank you in advance.
> > > > >
> > > > > /dossen
> > > > >
> > > > > Offtopic: Some time ago I did some smgl specific bits for the
> > > > > bash-completion, which I believe have been firmly broken by the new
> > > > > sorcery (and it probably needed to be anyway). I will try to find
> > > > > time
> > > > > shortly to fix it, using as much of the sorcery infrastructure as
> > > > > possible (depends on how much it seems reasonable to source for this
> > > > > type of feature). I guess it also needs a going after to make sure
> > > > > it
> > > > > has all the options of sorcery... or computes them ;-)
> > > > > _______________________________________________
> > > > > SM-Sorcery mailing list
> > > > > SM-Sorcery AT lists.ibiblio.org
> > > > > http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
> > > > >
> > > >
> > > > _______________________________________________
> > > > SM-Sorcery mailing list
> > > > SM-Sorcery AT lists.ibiblio.org
> > > > http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
> > > >
> > >
> >
> > _______________________________________________
> > SM-Sorcery mailing list
> > SM-Sorcery AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
> >
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
>

--


Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.ch.pgp.net:11371/pks/lookup?op=get&search=0x92B5D3F1






Archive powered by MHonArc 2.6.24.

Top of Page