xref: /csrg-svn/bin/echo/echo.1 (revision 63986)
1*63986Sbostic.\" Copyright (c) 1990, 1993
2*63986Sbostic.\"	The Regents of the University of California.  All rights reserved.
319408Smckusick.\"
450188Sbostic.\" This code is derived from software contributed to Berkeley by
550188Sbostic.\" the Institute of Electrical and Electronics Engineers, Inc.
650188Sbostic.\"
750629Scael.\" %sccs.include.redist.roff%
843687Scael.\"
9*63986Sbostic.\"	@(#)echo.1	8.1 (Berkeley) 07/22/93
1050629Scael.\"
1143687Scael.Dd
1243687Scael.Dt ECHO 1
1347304Scael.Os
1443687Scael.Sh NAME
1543687Scael.Nm echo
1643687Scael.Nd write arguments to the standard output
1743687Scael.Sh SYNOPSIS
1843687Scael.Nm echo
1943687Scael.Op Fl n
2050629Scael.Op "string ..."
2143687Scael.Sh DESCRIPTION
2244953ScaelThe
2350629Scael.Nm echo
2450629Scaelutility writes any specified operands, separated by single blank (`` '')
2563985Sbosticcharacters and followed by a newline (``\en'') character, to the standard
2650080Sbosticoutput.
2743687Scael.Pp
2843687ScaelThe following option is available:
2950629Scael.Bl -tag -width flag
3050629Scael.It Fl n
3150080SbosticDo not print the trailing newline character.
3250629Scael.El
3343687Scael.Pp
3450629ScaelThe
3550629Scael.Nm echo
3643687Scaelutility exits 0 on success, and >0 if an error occurs.
3750080Sbostic.Sh SEE ALSO
3850080Sbostic.Xr printf 1
3943687Scael.Sh STANDARDS
4043687ScaelThe
4143687Scael.Nm echo
4250629Scaelutility is expected to be
4350629Scael.St -p1003.2
4450629Scaelcompatible.
45