| 1 |
.TH LESSECHO 1 "10 Jan 2026" "less 691" |
| 2 |
.\" Define a string to interpolate the hyphenless break point escape |
| 3 |
.\" sequence (for URLs and similar) if the formatter claims groff |
| 4 |
.\" compatibility, else interpolate nothing. |
| 5 |
.ie \n(.g .ds : \: |
| 6 |
.el .ds : \" empty |
| 7 |
.SH NAME |
| 8 |
lessecho \- expand metacharacters |
| 9 |
.SH SYNOPSIS |
| 10 |
.HP |
| 11 |
.B lessecho |
| 12 |
.RB [ \-a ] |
| 13 |
.RB [ \-o\c |
| 14 |
.IR x ] |
| 15 |
.RB [ \-c\c |
| 16 |
.IR x ] |
| 17 |
.RB [ \-p\c |
| 18 |
.IR n ] |
| 19 |
.RB [ \-d\c |
| 20 |
.IR n ] |
| 21 |
.RB [ \-m\c |
| 22 |
.IR x ] |
| 23 |
.RB [ \-n\c |
| 24 |
.IR n ] |
| 25 |
.RB [ \-e\c |
| 26 |
.IR x ] |
| 27 |
.I file |
| 28 |
\&.\|.\|. |
| 29 |
.PP |
| 30 |
.B "lessecho \-\-version" |
| 31 |
.SH "DESCRIPTION" |
| 32 |
.B lessecho |
| 33 |
is a program that simply echos its arguments on standard output. |
| 34 |
But any metacharacter in the output is preceded by an "escape" |
| 35 |
character, which by default is a backslash. |
| 36 |
.B lessecho |
| 37 |
is invoked internally by |
| 38 |
.BR less , |
| 39 |
and is not intended to be used directly by humans. |
| 40 |
.SH OPTIONS |
| 41 |
A summary of options is included below. |
| 42 |
.TP |
| 43 |
.B \-e\fIx\fP |
| 44 |
Specifies "\fIx\fP", rather than backslash, to be the escape char for metachars. |
| 45 |
If \fIx\fP is "\-", no escape char is used and arguments containing metachars |
| 46 |
are surrounded by quotes instead. |
| 47 |
.TP |
| 48 |
.B \-o\fIx\fP |
| 49 |
Specifies "\fIx\fP", rather than double-quote, to be the open quote character, |
| 50 |
which is used if the \-e\- option is specified. |
| 51 |
.TP |
| 52 |
.B \-c\fIx\fP |
| 53 |
Specifies "\fIx\fP" to be the close quote character. |
| 54 |
.TP |
| 55 |
.B \-p\fIn\fP |
| 56 |
Specifies "\fIn\fP" to be the open quote character, as an integer. |
| 57 |
.TP |
| 58 |
.B \-d\fIn\fP |
| 59 |
Specifies "\fIn\fP" to be the close quote character, as an integer. |
| 60 |
.TP |
| 61 |
.B \-m\fIx\fP |
| 62 |
Specifies "\fIx\fP" to be a metachar. |
| 63 |
By default, no characters are considered metachars. |
| 64 |
.TP |
| 65 |
.B \-n\fIn\fP |
| 66 |
Specifies "\fIn\fP" to be a metachar, as an integer. |
| 67 |
.TP |
| 68 |
.B \-f\fIn\fP |
| 69 |
Specifies "\fIn\fP" to be the escape char for metachars, as an integer. |
| 70 |
.TP |
| 71 |
.B \-a |
| 72 |
Specifies that all arguments are to be quoted. |
| 73 |
The default is that only arguments containing metacharacters are quoted. |
| 74 |
.SH "SEE ALSO" |
| 75 |
.BR less (1) |
| 76 |
.SH AUTHOR |
| 77 |
This manual page was written by Thomas Schoepf <[email protected]>, |
| 78 |
for the Debian GNU/Linux system (but may be used by others). |
| 79 |
.PP |
| 80 |
Report bugs at |
| 81 |
.nh |
| 82 |
https://\*:github\*:.com/\*:gwsw/\*:less/\*:issues. |
| 83 |
.hy |