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

Re: zless?



On Wed, Feb 18, 2004 at 09:41:37AM -0600, Joe Wreschnig wrote:
> On Tue, 2004-02-17 at 23:22, Bernd S. Brentrup wrote:
> > On Tue, Feb 17, 2004 at 11:15:36PM -0600, Joe Wreschnig wrote:
> > > On Tue, 2004-02-17 at 11:19, Douglas F. Calvert wrote:
> > > > Hello,
> > > >  I did not find a definitive answer to my question by scanning
> > > > debian-policy/* but I may have missed something. Is it a problem that
> > > > zless is installed in /bin but requires less which is installed in /usr
> > > > and is not an essential package or a dependancy of gzip?	
> > > 
> > > The best idea might be to merge zless with zmore, or use the same script
> > > (except with a default $PAGER of less instead of more). Personally I'd
> > > want zless to start $PAGER anyway.
> > 
> > Partially seconded but call it zpager then.
> 
> zmore already uses ${PAGER-more}. I see no reason why zless shouldn't
> use ${PAGER-less}.
> 
> I'll write a script this afternoon that should handle both cases. But
> this is less of a policy issue at this point, and more of "file a bug on
> gzip" issue.

FWIW, zless script has changed completly between woody and sid.
Here the woody version in extenso:
---
#!/bin/sh

: ${PAGER=less}
export PAGER

PATH="/usr/bin:$PATH"
export PATH

exec zmore ${1+"$@"}
----
Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 



Reply to: