less/less-458-less-filters-man.patch

23 lines
971 B
Diff
Raw Normal View History

2014-12-17 16:43:11 +00:00
diff -up less-466/less.nro.filters-man less-466/less.nro
--- less-466/less.nro.filters-man 2014-09-18 14:32:32.124111631 +0200
+++ less-466/less.nro 2014-09-18 14:32:39.548177152 +0200
@@ -1234,6 +1234,18 @@ Similarly, if the first two characters o
2013-05-07 12:43:29 +00:00
the input pipe is used on standard input as well as other files.
2014-12-17 16:43:11 +00:00
Again, in this case the dash is not considered to be part of
2013-05-07 12:43:29 +00:00
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: