LESSECHO(1) General Commands Manual LESSECHO(1) NAME lessecho - expand metacharacters SYNOPSIS lessecho [-a] [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] file ... lessecho --version DESCRIPTION lessecho is a program that simply echos its arguments on standard output. But any metacharacter in the output is preceded by an "escape" character, which by default is a backslash. lessecho is invoked internally by less, and is not intended to be used directly by humans. OPTIONS A summary of options is included below. -ex Specifies "x", rather than backslash, to be the escape char for metachars. If x is "-", no escape char is used and arguments con- taining metachars are surrounded by quotes instead. -ox Specifies "x", rather than double-quote, to be the open quote char- acter, which is used if the -e- option is specified. -cx Specifies "x" to be the close quote character. -pn Specifies "n" to be the open quote character, as an integer. -dn Specifies "n" to be the close quote character, as an integer. -mx Specifies "x" to be a metachar. By default, no characters are con- sidered metachars. -nn Specifies "n" to be a metachar, as an integer. -fn Specifies "n" to be the escape char for metachars, as an integer. -a Specifies that all arguments are to be quoted. The default is that only arguments containing metacharacters are quoted. SEE ALSO less(1) AUTHOR This manual page was written by Thomas Schoepf <schoepf@debian.org>, for the Debian GNU/Linux system (but may be used by others). Report bugs at https://github.com/gwsw/less/issues. less 692 29 Jan 2026 LESSECHO(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | AUTHOR
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=lessecho&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>
