I've tried this several different times on my RH machine but it never
worked. Checked paths, perms, etc. No luck. Well, I just got it
working!! I had to remove the \@ from the \@*.s line and it works like a
charm. I'm guessing it's a shell thing?

- Gary


Kjetil Ødegaard wrote:
> 
> * pop corn <[EMAIL PROTECTED]>
> >
> > >   http://www.orakel.ntnu.no/~kjetilod/tips/
> >
> > Terrific tip! this is how I got it to work on Redhat 7.0:
> >
> > # pwd
> > /usr/bin
> > # diff lesspipe.sh lesspipe.sh.orig
> > < \@*.s) tai64nlocal < "$1" ;;
> > < # http://www.orakel.ntnu.no/~kjetilod/tips/
> > # export LESSOPEN="|/usr/bin/lesspipe.sh %s"
> 
> You should probably save your modified lesspipe.sh in ~/bin; otherwise
> it might be lost in an upgrade.
> 
> I have added a paragraph for Red Hat users.  If anyone has information
> about lesspipe on other platforms, email me and I'll add them.
> 
> --
> Kjetil

Reply via email to