freebsd-skq/lessecho.man

55 lines
2.0 KiB
Groff
Raw Normal View History

2006-08-20 15:49:51 +00:00
LESSECHO(1) LESSECHO(1)
2007-06-04 01:42:54 +00:00
NAME
2006-08-20 15:49:51 +00:00
lessecho - expand metacharacters
2007-06-04 01:42:54 +00:00
SYNOPSIS
lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ...
2006-08-20 15:49:51 +00:00
2007-06-04 01:42:54 +00:00
DESCRIPTION
lessecho is a program that simply echos its arguments on standard out-
2012-06-26 20:38:53 +00:00
put. But any metacharacter in the output is preceded by an "escape"
character, which by default is a backslash.
2006-08-20 15:49:51 +00:00
2007-06-04 01:42:54 +00:00
OPTIONS
2006-08-20 15:49:51 +00:00
A summary of options is included below.
2012-06-26 20:38:53 +00:00
-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.
2006-08-20 15:49:51 +00:00
2007-06-04 01:42:54 +00:00
-cx Specifies "x" to be the close quote character.
2006-08-20 15:49:51 +00:00
2007-06-04 01:42:54 +00:00
-pn Specifies "n" to be the open quote character, as an integer.
2006-08-20 15:49:51 +00:00
2007-06-04 01:42:54 +00:00
-dn Specifies "n" to be the close quote character, as an integer.
2006-08-20 15:49:51 +00:00
2012-06-26 20:38:53 +00:00
-mx Specifies "x" to be a metachar. By default, no characters are
considered metachars.
2006-08-20 15:49:51 +00:00
2007-06-04 01:42:54 +00:00
-nn Specifies "n" to be a metachar, as an integer.
2006-08-20 15:49:51 +00:00
2012-06-26 20:38:53 +00:00
-fn Specifies "n" to be the escape char for metachars, as an inte-
2006-08-20 15:49:51 +00:00
ger.
2012-06-26 20:38:53 +00:00
-a Specifies that all arguments are to be quoted. The default is
that only arguments containing metacharacters are quoted
2006-08-20 15:49:51 +00:00
2007-06-04 01:42:54 +00:00
SEE ALSO
2006-08-20 15:49:51 +00:00
less(1)
2007-06-04 01:42:54 +00:00
AUTHOR
2012-06-26 20:38:53 +00:00
This manual page was written by Thomas Schoepf <schoepf@debian.org>,
2006-08-20 15:49:51 +00:00
for the Debian GNU/Linux system (but may be used by others).
Send bug reports or comments to bug-less@gnu.org.
2012-06-26 20:38:53 +00:00
Version 449: 26 Jun 2012 LESSECHO(1)