From 0893c48172edf1a07d35fe6d4e1676a0828331b9 Mon Sep 17 00:00:00 2001 From: tedu Date: Mon, 15 Dec 2014 20:31:40 +0000 Subject: [PATCH] .Xr cut which may be what you're really looking for. --- usr.bin/awk/awk.1 | 5 +++-- usr.bin/head/head.1 | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1 index 514f9894428..6d05cb7a483 100644 --- a/usr.bin/awk/awk.1 +++ b/usr.bin/awk/awk.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: awk.1,v 1.41 2014/03/17 21:48:51 jmc Exp $ +.\" $OpenBSD: awk.1,v 1.42 2014/12/15 20:31:40 tedu Exp $ .\" .\" Copyright (C) Lucent Technologies 1997 .\" All Rights Reserved @@ -22,7 +22,7 @@ .\" ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF .\" THIS SOFTWARE. .\" -.Dd $Mdocdate: March 17 2014 $ +.Dd $Mdocdate: December 15 2014 $ .Dt AWK 1 .Os .Sh NAME @@ -752,6 +752,7 @@ Print an error message to standard error: { print "error!" > "/dev/stderr" } .Ed .Sh SEE ALSO +.Xr cut 1 , .Xr lex 1 , .Xr printf 1 , .Xr sed 1 , diff --git a/usr.bin/head/head.1 b/usr.bin/head/head.1 index c490e71ebdd..e0dd341f851 100644 --- a/usr.bin/head/head.1 +++ b/usr.bin/head/head.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: head.1,v 1.20 2014/03/21 11:20:41 jmc Exp $ +.\" $OpenBSD: head.1,v 1.21 2014/12/15 20:31:40 tedu 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: March 21 2014 $ +.Dd $Mdocdate: December 15 2014 $ .Dt HEAD 1 .Os .Sh NAME @@ -87,6 +87,7 @@ in the following way to, for example, display only line 500 from the file .Dl $ head -n 500 foo | tail -1 .Sh SEE ALSO .Xr cat 1 , +.Xr cut 1 , .Xr less 1 , .Xr more 1 , .Xr tail 1 -- 2.20.1