Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ echo(1SH) — UTek 4.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

break(1sh)

cd(1sh)

chdir(1sh)

continue(1sh)

csh(1csh)

echo(1)

echo(1csh)

eval(1sh)

exec(1sh)

exit(1sh)

export(1sh)

hash(1sh)

login(1)

make(1)

pwd(1sh)

read(1sh)

readonly(1sh)

return(1sh)

set(1sh)

sh(1sh)

shift(1sh)

test(1sh)

times(1sh)

trap(1sh)

type(1sh)

ulimit(1sh)

umask(1sh)

unset(1sh)

wait(1sh)

which(1sh)

execve(2)



ECHO(1SH)               COMMAND REFERENCE               ECHO(1SH)



NAME
     echo - echo arguments  (sh built-in)

SYNOPSIS
     echo [ -n ] [ arg ] ...

DESCRIPTION
     Echo writes its arguments separated by blanks and terminated
     by a new-line on the standard output.  It also understands
     C-like escape conventions; beware of conflicts with the
     shell's use of \:

          \b backspace

          \c print line up to \c without new-line

          \f form-feed

          \n new-line

          \r carriage return

          \t tab

          \\ backslash

          \n the 8-bit character whose ASCII code is the 1-, 2-
             or 3-digit octal number n, which must start with a
             zero.

     Echo^ is useful for producing diagnostics in command files
     and for sending known data into a pipe.

OPTIONS
     -n Suppress printing of the trailing newline. Equivalent to
        ending arguments with \c.

EXAMPLES
     The following invocation of echo will print the sentence
     "This is a test.", followed by a new-line.

          echo This is a test.

     The following invocation of echo will print the sentence
     "This is a test."; the new-line will not be printed.

          echo This is a test.\cthis text will not be printed.

RETURN VALUE
     [NO_ERRS]      Command completed without error.





Printed 4/6/89                                                  1





ECHO(1SH)               COMMAND REFERENCE               ECHO(1SH)



CAVEATS
     Beware of conflicts with the shell's use of \.

     If the first argument begins with -n but has more
     characters, as in:

          echo -none

     the argument is printed as is, and the newline is not
     suppressed by this argument.

     For the sake of make(1) and other programs that execute echo
     without executing sh, the command is also supplied as a
     shell script.

SEE ALSO
     break(1sh), cd(1sh), chdir(1sh), continue(1sh), csh(1csh),
     echo(1), echo(1csh), eval(1sh), exec(1sh), exit(1sh),
     export(1sh), hash(1sh), login(1), make(1), pwd(1sh),
     read(1sh), readonly(1sh), return(1sh), set(1sh), sh(1sh),
     shift(1sh), test(1sh), times(1sh), trap(1sh), type(1sh),
     ulimit(1sh), umask(1sh), unset(1sh), wait(1sh), which(1sh),
     and execve(2).
































Printed 4/6/89                                                  2





































































%%index%%
na:288,92;
sy:380,185;
de:565,1043;
op:1608,198;
ex:1806,417;
rv:2223,178;
ca:2761,584;
se:3345,955;
%%index%%000000000134

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026