Hi,
since some time less (or lesspipe) when displaying compress texts reports:
/bin/bash: option -c requires an argument when I Quit displaying a text.
The text (or deb, nice script manoj :-) is displayed correctly, its only a
little annoying to get this message everytime I quit less. I dont
and they will be set every time you log in. These are the
commands:
export LESSOPEN='|/usr/bin/lesspipe %s'
This makes less pipe everything you view through this script.
This gives you readable information for verious non-text files, like
.tgz,
.gz, .tar, .zip, .arj and .deb files
Ben Pfaff [EMAIL PROTECTED] writes:
This is nice, but where is lesspipe?
lesspipe is in less version 332-2, at least. Perhaps it is only in
hamm versions of less.
In bo you can do it like this:
LESSOPEN='|~/bin/lesspipe.sh %s'
and lesspipe.sh reads:
---cut
Craig Sanders wrote:
lesspipe is in less version 332-2, at least. Perhaps it is only in
hamm versions of less.
yes, it is only in hammbut it will work fine with the bo version
of less.
i have attached a copy to this message. to install it, save it into
/usr/bin. then edit /etc
Peter S Galbraith wrote:
Craig Sanders wrote:
lesspipe is in less version 332-2, at least. Perhaps it is only in
hamm versions of less.
yes, it is only in hammbut it will work fine with the bo version
of less.
i have attached a copy to this message. to install it, save
Remco Blaakmeer wrote:
To configure less to be more useful, you can set some environment
variables. If you like them, place the commands to set them in
/etc/profile and they will be set every time you log in. These are the
commands:
export LESSOPEN='|/usr/bin/lesspipe %s
Peter S Galbraith writes:
export LESSOPEN='|/usr/bin/lesspipe %s'
This makes less pipe everything you view through this script.
This gives you readable information for verious non-text files, like .tgz,
.gz, .tar, .zip, .arj and .deb files.
This is nice, but where is lesspipe
Remco Blaakmeer wrote:
To configure less to be more useful, you can set some environment
variables. If you like them, place the commands to set them in
/etc/profile and they will be set every time you log in. These are the
commands:
export LESSOPEN='|/usr/bin/lesspipe %s
This is nice, but where is lesspipe?
$ more /var/lib/dpkg/info/less.list
Not there!
Seems you've got a rather old version of less, maybe?
$ grep pipe /var/lib/dpkg/info/less.list
/usr/bin/lesspipe
$ dpkg -l less
||/ NameVersionDescription
ii less
This is nice, but where is lesspipe?
lesspipe is in less version 332-2, at least. Perhaps it is only in
hamm versions of less.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .
On 26 Jan 1998, Ben Pfaff wrote:
lesspipe is in less version 332-2, at least. Perhaps it is only in
hamm versions of less.
yes, it is only in hammbut it will work fine with the bo version
of less.
i have attached a copy to this message. to install it, save it into
/usr/bin. then edit
11 matches
Mail list logo