was available in v4.
To quote Ken Thompson, grep appeared "sometime
before the 4th edition."
ok schwarze@
-.\" $OpenBSD: grep.1,v 1.42 2013/01/17 21:29:14 jmc Exp $
+.\" $OpenBSD: grep.1,v 1.43 2015/01/13 04:45:34 daniel Exp $
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\"
.\" @(#)grep.1 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: January 17 2013 $
+.Dd $Mdocdate: January 13 2015 $
.Dt GREP 1
.Os
.Sh NAME
The
.Nm grep
command first appeared in
-.At v6 .
+.At v4 .