synch with locate(1) changes, as written by Michael Reed.
okay naddy@
This commit is contained in:
parent
d0d12a862e
commit
24c705e400
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2015/04/28 17:03:00 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.30 2016/02/21 02:13:12 espie Exp $
|
||||
|
||||
COMMENT = database of packages for use with locate(1)
|
||||
|
||||
# locate data is NOT MI, unfortunately
|
||||
# PKG_ARCH = ${ARCH}....
|
||||
DISTNAME = pkglocatedb-1.1
|
||||
DISTNAME = pkglocatedb-1.2
|
||||
DISTFILES =
|
||||
|
||||
CATEGORIES = databases
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $OpenBSD: pkg_locate.1,v 1.2 2013/10/21 09:04:47 bentley Exp $
|
||||
.\" $OpenBSD: pkg_locate.1,v 1.3 2016/02/21 02:13:12 espie Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2013 Robert Peichaer <rpe@openbsd.org>
|
||||
.\"
|
||||
@ -14,7 +14,7 @@
|
||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.Dd $Mdocdate: October 21 2013 $
|
||||
.Dd $Mdocdate: February 21 2016 $
|
||||
.Dt PKG_LOCATE 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -23,7 +23,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Nm pkg_locate
|
||||
.Bk -words
|
||||
.Op Fl bcimSs
|
||||
.Op Fl bciS
|
||||
.Op Fl l Ar limit
|
||||
.Ar pattern ...
|
||||
.Ek
|
||||
@ -95,21 +95,8 @@ Suppress normal output; instead print a count of matching file names.
|
||||
Ignore case distinctions in both the pattern and the database.
|
||||
.It Fl l Ar limit
|
||||
Limit output to a specific number of files and exit.
|
||||
.It Fl m
|
||||
Use
|
||||
.Xr mmap 2
|
||||
instead of the
|
||||
.Xr stdio 3
|
||||
library.
|
||||
This is the default behavior.
|
||||
It performs better in most cases.
|
||||
.It Fl S
|
||||
Print some statistics about the database and exit.
|
||||
.It Fl s
|
||||
Use the
|
||||
.Xr stdio 3
|
||||
library instead of
|
||||
.Xr mmap 2 .
|
||||
.El
|
||||
.Sh FILES
|
||||
.Bl -tag -compact -width /usr/local/share/pkglocatedb
|
||||
|
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "usage: ${0##*/} [-bcimSs] [-l limit] pattern ..."
|
||||
echo "usage: ${0##*/} [-bciS] [-l limit] pattern ..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user