| 1 |
.TH LESSECHO 1 "Version 668: 06 Oct 2024" |
| 2 |
.SH NAME |
| 3 |
lessecho \- expand metacharacters |
| 4 |
.SH SYNOPSIS |
| 5 |
.B lessecho |
| 6 |
.I "[-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ..." |
| 7 |
.SH "DESCRIPTION" |
| 8 |
.B lessecho |
| 9 |
is a program that simply echos its arguments on standard output. |
| 10 |
But any metacharacter in the output is preceded by an "escape" |
| 11 |
character, which by default is a backslash. |
| 12 |
.B lessecho |
| 13 |
is invoked internally by |
| 14 |
.BR less , |
| 15 |
and is not intended to be used directly by humans. |
| 16 |
.SH OPTIONS |
| 17 |
A summary of options is included below. |
| 18 |
.TP |
| 19 |
.B \-e\fIx\fP |
| 20 |
Specifies "\fIx\fP", rather than backslash, to be the escape char for metachars. |
| 21 |
If \fIx\fP is "-", no escape char is used and arguments containing metachars |
| 22 |
are surrounded by quotes instead. |
| 23 |
.TP |
| 24 |
.B \-o\fIx\fP |
| 25 |
Specifies "\fIx\fP", rather than double-quote, to be the open quote character, |
| 26 |
which is used if the \-e- option is specified. |
| 27 |
.TP |
| 28 |
.B \-c\fIx\fP |
| 29 |
Specifies "\fIx\fP" to be the close quote character. |
| 30 |
.TP |
| 31 |
.B \-p\fIn\fP |
| 32 |
Specifies "\fIn\fP" to be the open quote character, as an integer. |
| 33 |
.TP |
| 34 |
.B \-d\fIn\fP |
| 35 |
Specifies "\fIn\fP" to be the close quote character, as an integer. |
| 36 |
.TP |
| 37 |
.B \-m\fIx\fP |
| 38 |
Specifies "\fIx\fP" to be a metachar. |
| 39 |
By default, no characters are considered metachars. |
| 40 |
.TP |
| 41 |
.B \-n\fIn\fP |
| 42 |
Specifies "\fIn\fP" to be a metachar, as an integer. |
| 43 |
.TP |
| 44 |
.B \-f\fIn\fP |
| 45 |
Specifies "\fIn\fP" to be the escape char for metachars, as an integer. |
| 46 |
.TP |
| 47 |
.B \-a |
| 48 |
Specifies that all arguments are to be quoted. |
| 49 |
The default is that only arguments containing metacharacters are quoted. |
| 50 |
.SH "SEE ALSO" |
| 51 |
.BR less (1) |
| 52 |
.SH AUTHOR |
| 53 |
This manual page was written by Thomas Schoepf <[email protected]>, |
| 54 |
for the Debian GNU/Linux system (but may be used by others). |
| 55 |
.PP |
| 56 |
Report bugs at https://github.com/gwsw/less/issues. |