1 LESSECHO(1) General Commands Manual LESSECHO(1)
6 lessecho - expand metacharacters
9 \e[1mlessecho
\e[4m
\e[22m[-ox]
\e[24m
\e[4m[-cx]
\e[24m
\e[4m[-pn]
\e[24m
\e[4m[-dn]
\e[24m
\e[4m[-mx]
\e[24m
\e[4m[-nn]
\e[24m
\e[4m[-ex]
\e[24m
\e[4m[-a]
\e[24m
\e[4mfile
\e[24m
\e[4m...
\e[0m
12 \e[1mlessecho
\e[22mis a program that simply echos its arguments on standard out‐
13 put. But any metacharacter in the output is preceded by an "escape"
14 character, which by default is a backslash.
17 A summary of options is included below.
19 \e[1m-e
\e[4m
\e[22mx
\e[24m Specifies "
\e[4mx
\e[24m", rather than backslash, to be the escape char for
20 metachars. If
\e[4mx
\e[24m is "-", no escape char is used and arguments
21 containing metachars are surrounded by quotes instead.
23 \e[1m-o
\e[4m
\e[22mx
\e[24m Specifies "
\e[4mx
\e[24m", rather than double-quote, to be the open quote
24 character, which is used if the -e- option is specified.
26 \e[1m-c
\e[4m
\e[22mx
\e[24m Specifies "
\e[4mx
\e[24m" to be the close quote character.
28 \e[1m-p
\e[4m
\e[22mn
\e[24m Specifies "
\e[4mn
\e[24m" to be the open quote character, as an integer.
30 \e[1m-d
\e[4m
\e[22mn
\e[24m Specifies "
\e[4mn
\e[24m" to be the close quote character, as an integer.
32 \e[1m-m
\e[4m
\e[22mx
\e[24m Specifies "
\e[4mx
\e[24m" to be a metachar. By default, no characters are
35 \e[1m-n
\e[4m
\e[22mn
\e[24m Specifies "
\e[4mn
\e[24m" to be a metachar, as an integer.
37 \e[1m-f
\e[4m
\e[22mn
\e[24m Specifies "
\e[4mn
\e[24m" to be the escape char for metachars, as an inte‐
40 \e[1m-a
\e[22mSpecifies that all arguments are to be quoted. The default is
41 that only arguments containing metacharacters are quoted.
47 This manual page was written by Thomas Schoepf <schoepf@debian.org>,
48 for the Debian GNU/Linux system (but may be used by others).
50 Report bugs at https://github.com/gwsw/less/issues.
54 Version 643: 20 Jul 2023 LESSECHO(1)