summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-10-21 16:30:34 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-10-21 16:30:34 +0000
commit8a27a63745f5a2000e243d7f2df76c57a5604be5 (patch)
tree293bcfd60f91e74fd4b13bc4e4fa1b516c399513 /usr.bin
parent44ca4575ea0602c037be51beb89e1a1ad34ee649 (diff)
downloadsrc-test2-8a27a63745f5a2000e243d7f2df76c57a5604be5.tar.gz
src-test2-8a27a63745f5a2000e243d7f2df76c57a5604be5.zip
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/col/col.122
1 files changed, 13 insertions, 9 deletions
diff --git a/usr.bin/col/col.1 b/usr.bin/col/col.1
index 1a6a1eb00a25..03b9c1328a09 100644
--- a/usr.bin/col/col.1
+++ b/usr.bin/col/col.1
@@ -31,7 +31,7 @@
.\" @(#)col.1 8.1 (Berkeley) 6/29/93
.\" $FreeBSD$
.\"
-.Dd May 10, 2015
+.Dd October 21, 2020
.Dt COL 1
.Os
.Sh NAME
@@ -47,10 +47,6 @@ The
utility filters out reverse (and half reverse) line feeds so that the output is
in the correct order with only forward and half forward line
feeds, and replaces white-space characters with tabs where possible.
-This can be useful in processing the output of
-.Xr nroff 1
-and
-.Xr tbl 1 .
.Pp
The
.Nm
@@ -149,11 +145,19 @@ as described in
.Xr environ 7 .
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+We can use
+.Nm
+to filter the output of
+.Xr man 1
+and remove the backspace characters (
+.Em ^H
+) before searching for some text:
+.Bd -literal -offset indent
+man ls | col -b | grep HISTORY
+.Ed
.Sh SEE ALSO
-.Xr colcrt 1 ,
-.Xr expand 1 ,
-.Xr nroff 1 ,
-.Xr tbl 1
+.Xr expand 1
.Sh STANDARDS
The
.Nm