Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

lessecho (1)

Name

lessecho - expand metacharacters

Synopsis

lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ...

Description

LESSECHO(1)                 General Commands Manual                LESSECHO(1)



NAME
       lessecho - expand metacharacters

SYNOPSIS
       lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ...

DESCRIPTION
       lessecho  is a program that simply echos its arguments on standard out-
       put.  But any metacharacter in the output is preceded  by  an  "escape"
       character, which by default is a backslash.

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
              containing metachars are surrounded by quotes instead.

       -ox    Specifies  "x",  rather  than double-quote, to be the open quote
              character, 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
              considered metachars.

       -nn    Specifies "n" to be a metachar, as an integer.

       -fn    Specifies  "n"  to be the escape char for metachars, as an inte-
              ger.

       -a     Specifies that all arguments are to be quoted.  The  default  is
              that only arguments containing metacharacters are quoted.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | text/less        |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

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.



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source     was     downloaded      from       http://www.greenwoodsoft-
       ware.com/less/less-590.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.greenwoodsoftware.com/less/.



                           Version 590: 03 Jun 2021                LESSECHO(1)