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

25 lines
1.0 KiB
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
2020-11-30 08:42:51 +00:00
@@ -1323,7 +1323,19 @@ Similarly, if the first two characters of LESSOPEN are vertical bar and dash
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.
2020-11-30 08:42:51 +00:00
-.
2013-05-07 12:43:29 +00:00
+.PP
+There are used following files to set up default preprocessor:
+.br
2020-11-30 08:42:51 +00:00
+ /etc/profile.d/less.sh
2013-05-07 12:43:29 +00:00
+.br
2020-11-30 08:42:51 +00:00
+ /etc/profile.d/less.csh
2013-05-07 12:43:29 +00:00
+.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.
2020-11-30 08:42:51 +00:00
+
2013-05-07 12:43:29 +00:00
.SH "NATIONAL CHARACTER SETS"
There are three types of characters in the input file:
2020-11-30 08:42:51 +00:00
.IP "normal characters"