1LESSECHO(1) General Commands Manual LESSECHO(1)
2
3
4
6 lessecho - expand metacharacters
7
9 lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ...
10
12 lessecho is 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.
15
17 A summary of options is included below.
18
19 -ex Specifies "x", rather than backslash, to be the escape char for
20 metachars. If x is "-", no escape char is used and arguments
21 containing metachars are surrounded by quotes instead.
22
23 -ox Specifies "x", rather than double-quote, to be the open quote
24 character, which is used if the -e- option is specified.
25
26 -cx Specifies "x" to be the close quote character.
27
28 -pn Specifies "n" to be the open quote character, as an integer.
29
30 -dn Specifies "n" to be the close quote character, as an integer.
31
32 -mx Specifies "x" to be a metachar. By default, no characters are
33 considered metachars.
34
35 -nn Specifies "n" to be a metachar, as an integer.
36
37 -fn Specifies "n" to be the escape char for metachars, as an inte‐
38 ger.
39
40 -a Specifies that all arguments are to be quoted. The default is
41 that only arguments containing metacharacters are quoted.
42
44 less(1)
45
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).
49
50 Report bugs at https://github.com/gwsw/less/issues.
51
52
53
54 Version 633: 03 May 2023 LESSECHO(1)