-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbsearch.1
41 lines (32 loc) · 802 Bytes
/
bsearch.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH BSEARCH 1 "2018 March 10" "bsearch"
.SH NAME
bsearch - A utility for binary searching a sorted file for lines that start with the search key.
.SH SYNOPSIS
\fI
[OPTIONS]
\fP
.B bsearch
.I SEARCH_KEY
.I FILENAME
.SH DESCRIPTION
.B bsearch
is a utility for binary searching a sorted file for lines that start with the search key.
.SH OPTIONS
.TP
\fB\-r\fB, \-\-reverse\fR
The reverse flag indicates the file is sorted in descending order.
.TP
\fB\-i\fB, \-\-ignore\-case\fR
Perform a case-insensitive search.
.TP
\fB\-t\fB, \-\-trim\fR
Ignore leading whitespace in the file and search key.
.TP
\fB\-n\fB, \-\-numeric\fR
Use a numeric comparator. Use this option when using a file sorted by \fBsort -n\fB
.SH AUTHORS
.B bsearch
was written by
James Ridgway
.ME .