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

Re: /usr/share/doc...

On Tue, Apr 22, 2003 at 01:36:30PM -0400, Mark L. Kahnt wrote:
> Introducing: zmore, zless, or add to your .bash_profile or .profile:
> eval $(lessfile)
> or
> eval $(lesspipe)
> And don't feel like you missed a meeting where this was covered - all of
> us run into this problem early on, and more than a couple don't think to
> ask until someone else posts and reveals the great news.
hmm checking my understanding... does the above command just set the
following enviroment variables?:
export LESSOPEN="/usr/bin/lessfile %s";
export LESSCLOSE="/usr/bin/lessfile %s %s";

isnt immediately obvious but i guess using the eval and $() saves writing out
those assignments explicitly.

Hugh Saunders [GCv3.12] GCS d- s: a--- C+++ UL++>$ P+ L+++ E--- W-- N++
K- w-- M- V? PS-- Y PGP- t-- !5 X- R- tv-() b- DI+ D- G++ e- h++ r z?

Reply to: