Re: Less and .gz files

2002-02-19 Thread Jurgen de Wijs
On Tue, 19 Feb 2002 14:42:02 + (UTC), [EMAIL PROTECTED] (Samuli Suonpaa) wrote: >Trick is to use lesspipe. From my ~/.bash_profile: You can set this as a system wide default also by including this line in /etc/profile: eval $(lesspipe) This is described in more detail in the file /u

Re: Less and .gz files

2002-02-19 Thread Andrew Perrin
less was probably linked to zless, since zless will read un-gzipped files fine. It's a minor waste of resources, but you can always do: cd /etc/alternatives; ln -s /usr/bin/zless less to make this happen. Alternatively, just use zless for gzipped files. -

Re: Less and .gz files

2002-02-19 Thread Morten Bo Johansen
Raffaele Sandrini <[EMAIL PROTECTED]> wrote: RS> On my earlier SuSE system "less" was able to read gzipped text files. Can i RS> get less to do it also on Debian? I have included LESSOPEN="| /usr/bin/lesspipe %s" in my /etc/enviroment This enables less to view the contents of a number

Re: Less and .gz files

2002-02-19 Thread Samuli Suonpaa
Sebastiaan <[EMAIL PROTECTED]> writes: > On Tue, 19 Feb 2002, Raffaele Sandrini wrote: >> On my earlier SuSE system "less" was able to read gzipped text >> files. Can i get less to do it also on Debian? > yes, but the command is 'zless'. I beleive that the package gzip provides > these commands. Yo

Re: Less and .gz files

2002-02-19 Thread Anthony Campbell
On 19 Feb 2002, Raffaele Sandrini wrote: > Hi > > On my earlier SuSE system "less" was able to read gzipped text files. Can i > get less to do it also on Debian? > > cheers, > Raffaele > -- > Raffaele Sandrini <[EMAIL PROTECTED]> > For encrypted Mail get my Public Key from "search.keyserver.net

Re: Less and .gz files

2002-02-19 Thread Viktor Rosenfeld
Hi, forget zless and the like, standard less can do that and much more automagically. The package less provides the program /usr/bin/lesspipe. It sets the environment variables LESSOPEN and LESSCLOSE, which cause less to preprocess the file before opening it. This way, you can not only look at

Re: Less and .gz files

2002-02-19 Thread Mark Janssen
On Tue, 2002-02-19 at 15:08, Sebastiaan wrote: > High, > > On Tue, 19 Feb 2002, Raffaele Sandrini wrote: > > > Hi > > > > On my earlier SuSE system "less" was able to read gzipped text files. Can i > > get less to do it also on Debian? It uses LESSPIPE... >From the manual page... 'man lesspipe'

Re: Less and .gz files

2002-02-19 Thread paul
> Date: Tue, 19 Feb 2002 14:51:02 +0100 > From: Raffaele Sandrini <[EMAIL PROTECTED]> > To: debian-user@lists.debian.org > Subject: Less and .gz files > Resent-Date: Tue, 19 Feb 2002 08:58:56 -0500 > Resent-From: debian-user@lists.debian.org > > Hi > > On my

Re: Less and .gz files

2002-02-19 Thread R . Pac
On Tue, 19 Feb 2002 14:51:02 +0100 Raffaele Sandrini <[EMAIL PROTECTED]> wrote: > Hi > > On my earlier SuSE system "less" was able to read gzipped text files. > Can i get less to do it also on Debian? > maybe you should try to use zless ? See you Pac

Re: Less and .gz files

2002-02-19 Thread Pietro Cagnoni
> On my earlier SuSE system "less" was able to read gzipped text files. Can i > get less to do it also on Debian? try zless (and zgrep, zcat...) pietro.

Re: Less and .gz files

2002-02-19 Thread Sebastiaan
High, On Tue, 19 Feb 2002, Raffaele Sandrini wrote: > Hi > > On my earlier SuSE system "less" was able to read gzipped text files. Can i > get less to do it also on Debian? > yes, but the command is 'zless'. I beleive that the package gzip provides these commands. You will get a lot of other 'z'

Less and .gz files

2002-02-19 Thread Raffaele Sandrini
Hi On my earlier SuSE system "less" was able to read gzipped text files. Can i get less to do it also on Debian? cheers, Raffaele -- Raffaele Sandrini <[EMAIL PROTECTED]> For encrypted Mail get my Public Key from "search.keyserver.net" ID: 0xEC4950E9