public final class Echo extends Object
NAME
echo - write arguments to standard output
SYNOPSIS
echo <args> | |
echo [-n] <string> | |
echo [-n] <strings> |
See Echo.Interface
for the corresponding command signature methods.
DESCRIPTION
The echo utility writes any specified operands, separated by single blank (' '
) characters and followed by a line ending, to the standard output. The line ending is usually one or two characters depending on the operating system where the command is run.
Options
The following options are supported:
-n | --noNewline | Do not print the trailing newline character(s). |
OPERANDS
The following operands are supported:
<string> | : | String | A string to be written to standard output. | ||
<strings> | : | String... | Strings to be written to standard output, separated by single blank characters. | ||
<args> | : | String... | String arguments defining the options for the command and the strings to be written to the output. Options can be specified by acronym (with a leading dash "-") or by long name (with two leading dashes "--"). | ||
<options> | : | EchoOptions | Options for the echo command. |
Modifier and Type | Class and Description |
---|---|
static interface |
Echo.Interface<R>
Interface defining all method signatures for the "echo" command.
|
Modifier and Type | Field and Description |
---|---|
static EchoFactory |
Factory
Singleton
factory instance for the "echo" command. |
static String |
NAME
The "echo" command name.
|
static EchoOptionSets |
Options
Options for the "echo" command:
n . |
public static final String NAME
public static final EchoOptionSets Options
public static final EchoFactory Factory
factory
instance for the "echo" command.Copyright © 2024. All rights reserved.