Correct use of .Nm. Add rcsid.

This commit is contained in:
charnier 1998-05-13 07:39:11 +00:00
parent f60d38b876
commit b0feaf5a6b
4 changed files with 15 additions and 11 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $Id: domainname.1,v 1.4 1997/02/22 14:03:00 peter Exp $
.\" $Id: domainname.1,v 1.5 1997/06/03 06:19:04 charnier Exp $
.\"
.Dd September 18, 1994
.Dt DOMAINNAME 1
@ -42,7 +42,7 @@
.Nm domainname
.Op Ar ypdomain
.Sh DESCRIPTION
.Nm domainname
.Nm Domainname
prints the name of the current YP/NIS domain. The super-user can
set the domain name by supplying an argument; this is usually done in the
network initialization script

View File

@ -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: domainname.c,v 1.9 1997/06/03 06:19:04 charnier Exp $
*/
#ifndef lint
@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
#if 0
static char const sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id$";
#endif /* not lint */
#include <sys/param.h>

View File

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

View File

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