Added lessfilter info to man (#948597)
This commit is contained in:
parent
ba0e442ee9
commit
3f5d948810
22
less-458-less-filters-man.patch
Normal file
22
less-458-less-filters-man.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -upr less-458_orig/less.nro less-458_work/less.nro
|
||||
--- less-458_orig/less.nro 2013-05-07 14:20:52.237332235 +0200
|
||||
+++ less-458_work/less.nro 2013-05-07 14:22:23.142708098 +0200
|
||||
@@ -1228,6 +1228,18 @@ Similarly, if the first two characters o
|
||||
the input pipe is used on standard input as well as other files.
|
||||
Again, in this case the dash is not considered to be part of
|
||||
the input pipe command.
|
||||
+.PP
|
||||
+There are used following files to set up default preprocessor:
|
||||
+.br
|
||||
+ /etc/profile.d/less.sh
|
||||
+.br
|
||||
+ /etc/profile.d/less.csh
|
||||
+.br
|
||||
+These files set up /usr/bin/lesspipe.sh as a default filter. An user defined
|
||||
+filter can be specified in ~/.lessfilter. This file should have an execute bit
|
||||
+set and accept only one parameter, which represents a filename. If
|
||||
+the user defined filter process the file, zero should be returned. Otherwise
|
||||
+~/.lessfilter tries to handle the file.
|
||||
|
||||
.SH "NATIONAL CHARACTER SETS"
|
||||
There are three types of characters in the input file:
|
@ -15,6 +15,7 @@ Patch5: less-418-fsync.patch
|
||||
Patch6: less-436-manpage-add-old-bot-option.patch
|
||||
Patch7: less-436-help.patch
|
||||
Patch8: less-458-lessecho-usage.patch
|
||||
Patch9: less-458-less-filters-man.patch
|
||||
URL: http://www.greenwoodsoftware.com/less/
|
||||
Requires: groff-base
|
||||
BuildRequires: ncurses-devel
|
||||
@ -39,6 +40,7 @@ files, and you'll use it frequently.
|
||||
%patch6 -p1 -b .manpage-add-old-bot-option
|
||||
%patch7 -p1 -b .help
|
||||
%patch8 -p1 -b .lessecho-usage
|
||||
%patch9 -p1 -b .less-filters-man
|
||||
autoreconf
|
||||
|
||||
chmod -R a+w *
|
||||
@ -69,6 +71,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
- Expanded lessecho usage (#948597)
|
||||
- Added lessfilter info to man (#948597)
|
||||
|
||||
* Thu Apr 11 2013 Fridolin Pokorny <fpokorny@redhat.com> - 458-2
|
||||
- Added gpg support to lesspipe.sh (#885122)
|
||||
|
Loading…
Reference in New Issue
Block a user