carta
jlessecho(1)

jlessecho1

Expand metacharacters

Usage

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

Overview

lessecho is a program that simply echos its arguments on standard output. But any argument containing spaces is enclosed in quotes.

Options

A summary of options is included below.

-ox

Specifies "x" to be the open quote character.

-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.

-nn

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

-ex

Specifies "x" to be the escape char for metachars.

-fn

Specifies "n" to be the escape char for metachars, as an integer.

-a

Specifies that all arguments are to be quoted. The default is that only arguments containing spaces are quoted.

History

  • Debian 8 (Jessie) to Debian 5.0 (Lenny): the text shown here
  • Debian 3.1 (Sarge) to Debian 3.0 (Woody)

-a since Debian 5.0 (Lenny); -cx since Debian 5.0 (Lenny); -dn since Debian 5.0 (Lenny); -ex since Debian 5.0 (Lenny); -fn since Debian 5.0 (Lenny); -mx since Debian 5.0 (Lenny); -nn since Debian 5.0 (Lenny); -ox since Debian 5.0 (Lenny); -pn since Debian 5.0 (Lenny).

Author

This manual page was written by Thomas Schoepf <[email protected]>, for the Debian GNU/Linux system (but may be used by others).

Send bug reports or comments to [email protected].

From jless 382-iso262-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.