2019-06-29 04:39:01 +00:00
|
|
|
.TH LESSECHO 1 "Version 551: 11 Jun 2019"
|
2006-08-20 15:49:51 +00:00
|
|
|
.SH NAME
|
|
|
|
lessecho \- expand metacharacters
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B lessecho
|
|
|
|
.I "[-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ..."
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.I lessecho
|
|
|
|
is a program that simply echos its arguments on standard output.
|
2012-06-26 20:38:53 +00:00
|
|
|
But any metacharacter in the output is preceded by an "escape"
|
|
|
|
character, which by default is a backslash.
|
2006-08-20 15:49:51 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
A summary of options is included below.
|
|
|
|
.TP
|
2012-06-26 20:38:53 +00:00
|
|
|
.B \-ex
|
|
|
|
Specifies "x", rather than backslash, to be the escape char for metachars.
|
|
|
|
If x is "-", no escape char is used and arguments containing metachars
|
|
|
|
are surrounded by quotes instead.
|
|
|
|
.TP
|
2006-08-20 15:49:51 +00:00
|
|
|
.B \-ox
|
2012-06-26 20:38:53 +00:00
|
|
|
Specifies "x", rather than double-quote, to be the open quote character,
|
|
|
|
which is used if the -e- option is specified.
|
2006-08-20 15:49:51 +00:00
|
|
|
.TP
|
|
|
|
.B \-cx
|
|
|
|
Specifies "x" to be the close quote character.
|
|
|
|
.TP
|
|
|
|
.B \-pn
|
|
|
|
Specifies "n" to be the open quote character, as an integer.
|
|
|
|
.TP
|
|
|
|
.B \-dn
|
|
|
|
Specifies "n" to be the close quote character, as an integer.
|
|
|
|
.TP
|
|
|
|
.B \-mx
|
|
|
|
Specifies "x" to be a metachar.
|
2012-06-26 20:38:53 +00:00
|
|
|
By default, no characters are considered metachars.
|
2006-08-20 15:49:51 +00:00
|
|
|
.TP
|
|
|
|
.B \-nn
|
|
|
|
Specifies "n" to be a metachar, as an integer.
|
|
|
|
.TP
|
|
|
|
.B \-fn
|
|
|
|
Specifies "n" to be the escape char for metachars, as an integer.
|
|
|
|
.TP
|
|
|
|
.B \-a
|
|
|
|
Specifies that all arguments are to be quoted.
|
2012-06-26 20:38:53 +00:00
|
|
|
The default is that only arguments containing metacharacters are quoted
|
2006-08-20 15:49:51 +00:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
less(1)
|
|
|
|
.SH AUTHOR
|
|
|
|
This manual page was written by Thomas Schoepf <schoepf@debian.org>,
|
|
|
|
for the Debian GNU/Linux system (but may be used by others).
|
|
|
|
.PP
|
|
|
|
Send bug reports or comments to bug-less@gnu.org.
|