From d72981b176cf7cf785fe55ac40c6b32116ca28f0 Mon Sep 17 00:00:00 2001 From: zhuk Date: Sun, 25 Oct 2015 21:50:32 +0000 Subject: [PATCH] Unify & improve paragraphs talking about "==> file <==" headers in head(1) and tail(1). Input & okay from jmc@ --- usr.bin/head/head.1 | 8 ++++---- usr.bin/tail/tail.1 | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/usr.bin/head/head.1 b/usr.bin/head/head.1 index 75ff973eda4..8f97660ef25 100644 --- a/usr.bin/head/head.1 +++ b/usr.bin/head/head.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: head.1,v 1.22 2015/09/15 19:15:32 schwarze Exp $ +.\" $OpenBSD: head.1,v 1.23 2015/10/25 21:50:32 zhuk Exp $ .\" .\" Copyright (c) 1980, 1990 The Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)head.1 6.6 (Berkeley) 7/24/91 .\" -.Dd $Mdocdate: September 15 2015 $ +.Dd $Mdocdate: October 25 2015 $ .Dt HEAD 1 .Os .Sh NAME @@ -66,8 +66,8 @@ must be a positive decimal integer. .Pp If more than one file is specified, .Nm -precedes the output of each file with the following, in order to distinguish -the head of each file: +precedes the output of each file with the following, in order +to distinguish files: .Pp .Dl ==> Ar file No <== .Sh EXIT STATUS diff --git a/usr.bin/tail/tail.1 b/usr.bin/tail/tail.1 index 4e26dbc9af8..9d5744f86af 100644 --- a/usr.bin/tail/tail.1 +++ b/usr.bin/tail/tail.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tail.1,v 1.22 2015/09/15 19:15:32 schwarze Exp $ +.\" $OpenBSD: tail.1,v 1.23 2015/10/25 21:50:32 zhuk Exp $ .\" $NetBSD: tail.1,v 1.4 1994/11/23 07:42:13 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)tail.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: September 15 2015 $ +.Dd $Mdocdate: October 25 2015 $ .Dt TAIL 1 .Os .Sh NAME @@ -125,12 +125,12 @@ The default for the option is to display all of the input. .El .Pp -If more than a single file is specified, each file is preceded by a -header consisting of the string -.Dq ==> XXX <== -where -.Dq XXX -is the name of the file. +If more than one file is specified, +.Nm +precedes the output of each file with the following, in order +to distinguish files: +.Pp +.Dl ==> Ar file No <== .Sh EXIT STATUS .Ex -std tail .Sh EXAMPLES -- 2.20.1