[ILUG] unknown -options vs. GNU getopt(1)?

Brian Foster blf at utvinternet.ie
Sat Jun 22 06:13:14 IST 2002


  | Date: Fri, 21 Jun 2002 02:22:57 +0100
  | From: kevin lyda <kevin at ie.suberic.net>
  | 
  | On Fri, Jun 21, 2002 at 01:22:09AM +0100, Brian Foster wrote:
  |  > I'm writing a wrapper shell script around less(1) for various
  |  > bizarre reasons that are not particularly relevant [ ... ]
  | 
  | probably won't be helpful in your case, but less has several useful
  | environment variables.  the less man page has a very useful explaination
  | of the LESSOPEN environment var.  it's quite possible to configure less
  | to page through a lot of things in a handy way.  my lessopen script
  | works like so:
  |   [ ... useful example deleted ... ]
  | essentially, less is like the emacs of pagers.

 thanks for the hint!  as it so happens, my approach blew up in a
 number of subtle fashions in the intended application (albeit it
 worked Ok standalone) --- part of a multi-locale/charset interface
 to the nmh-1.0.4/MH.6.8 MUA --- so that I had to rethink much of
 the design ....  ;-(

 the approach I'm now using, whilst it has not (yet) migrated into
 LESSOPEN, probably could make that step, which does appear to be
 the next(?) natural step.  in other words, I quite possibly will
 switch to a LESSOPEN script.   again, thanks for the comment!

cheers,
	-blf-
--
 Innovative, very experienced, Unix and      | Brian Foster    Dublin, Ireland
 Chorus (embedded RTOS) kernel internals     | e-mail: blf at utvinternet.ie
 expert looking for a new position ...       | mobile: (+353 or 0)86 854 9268
  For a résumé, contact me, or see my website  http://www.blf.utvinternet.ie

    Stop E$$o (ExxonMobile):  «Whatever you do, don't buy Esso --- they
     don't give a damn about global warming.»    http://www.stopesso.com
     Supported by Greenpeace, Friends of the Earth, and numerous others...




More information about the ILUG mailing list