summaryrefslogtreecommitdiffstats
path: root/bin/echo
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-13 07:39:11 +0000
committercharnier <charnier@FreeBSD.org>1998-05-13 07:39:11 +0000
commitb0feaf5a6b3a0cc6d14026725a4f968d4ae4b583 (patch)
tree1b511f040c66e1fe8407f49d8d0f13159c993c14 /bin/echo
parentf60d38b876cfdc40be0ac967d6dba74637753835 (diff)
downloadFreeBSD-src-b0feaf5a6b3a0cc6d14026725a4f968d4ae4b583.zip
FreeBSD-src-b0feaf5a6b3a0cc6d14026725a4f968d4ae4b583.tar.gz
Correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin/echo')
-rw-r--r--bin/echo/echo.18
-rw-r--r--bin/echo/echo.c8
2 files changed, 9 insertions, 7 deletions
diff --git a/bin/echo/echo.1 b/bin/echo/echo.1
index ba0b32b..eca9232 100644
--- a/bin/echo/echo.1
+++ b/bin/echo/echo.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)echo.1 8.1 (Berkeley) 7/22/93
-.\" $Id$
+.\" $Id: echo.1,v 1.5 1997/02/22 14:03:05 peter Exp $
.\"
.Dd July 22, 1993
.Dt ECHO 1
@@ -47,7 +47,7 @@
.Op "string ..."
.Sh DESCRIPTION
The
-.Nm echo
+.Nm
utility writes any specified operands, separated by single blank (`` '')
characters and followed by a newline (``\en'') character, to the standard
output.
@@ -61,13 +61,13 @@ by iBCS2 compatible systems.
.El
.Pp
The
-.Nm echo
+.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr printf 1
.Sh STANDARDS
The
-.Nm echo
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/echo/echo.c b/bin/echo/echo.c
index a120823..0d342cc 100644
--- a/bin/echo/echo.c
+++ b/bin/echo/echo.c
@@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id$
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
+#if 0
+static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <stdio.h>
OpenPOWER on IntegriCloud