=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/grep/grep.1,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- src/usr.bin/grep/grep.1 2017/12/10 09:17:24 1.45 +++ src/usr.bin/grep/grep.1 2019/07/17 04:24:20 1.46 @@ -1,4 +1,4 @@ -.\" $OpenBSD: grep.1,v 1.45 2017/12/10 09:17:24 jmc Exp $ +.\" $OpenBSD: grep.1,v 1.46 2019/07/17 04:24:20 tedu Exp $ .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" @@ -28,7 +28,7 @@ .\" .\" @(#)grep.1 8.3 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: December 10 2017 $ +.Dd $Mdocdate: July 17 2019 $ .Dt GREP 1 .Os .Sh NAME @@ -131,8 +131,10 @@ .Fl C options. .It Fl b -The offset in bytes of a matched pattern is -displayed in front of the respective matched line. +Each output line is preceded by its position (in bytes) in the file. +If option +.Fl o +is also specified, the position of the matched pattern is displayed. .It Fl C Ns Oo Ar num Oc , Fl -context Ns Op = Ns Ar num Print .Ar num