Imported Upstream version 643
[platform/upstream/less.git] / lessecho.man
1 LESSECHO(1)                 General Commands Manual                LESSECHO(1)
2
3
4
5 \e[1mNAME\e[0m
6        lessecho - expand metacharacters
7
8 \e[1mSYNOPSIS\e[0m
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
10
11 \e[1mDESCRIPTION\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.
15
16 \e[1mOPTIONS\e[0m
17        A summary of options is included below.
18
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.
22
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.
25
26        \e[1m-c\e[4m\e[22mx\e[24m    Specifies "\e[4mx\e[24m" to be the close quote character.
27
28        \e[1m-p\e[4m\e[22mn\e[24m    Specifies "\e[4mn\e[24m" to be the open quote character, as an integer.
29
30        \e[1m-d\e[4m\e[22mn\e[24m    Specifies "\e[4mn\e[24m" to be the close quote character, as an integer.
31
32        \e[1m-m\e[4m\e[22mx\e[24m    Specifies "\e[4mx\e[24m" to be a metachar.  By default, no  characters  are
33               considered metachars.
34
35        \e[1m-n\e[4m\e[22mn\e[24m    Specifies "\e[4mn\e[24m" to be a metachar, as an integer.
36
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‐
38               ger.
39
40        \e[1m-a     \e[22mSpecifies that all arguments are to be quoted.  The  default  is
41               that only arguments containing metacharacters are quoted.
42
43 \e[1mSEE ALSO\e[0m
44        \e[1mless\e[22m(1)
45
46 \e[1mAUTHOR\e[0m
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 643: 20 Jul 2023                LESSECHO(1)