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

Bug#1776: zless missing



ecki@lina.inka.de writes ("Bug#1776: zless missing"):
> Package: gzip
>
> I think a zless is as usefull as zmore. The Slackware-implementation of
> zless is:
>
> ---
> #!/bin/sh
> for args
> do
>     zcat $args | less
> done
> ---

This is a bad implementation.  A better one would be:

#!/bin/sh -
PAGER=less
export PAGER
exec zmore "$@"

We've had this request twice now - can we put this script in
/usr/bin/zless ?

Ian.


Reply to: