bsearch

command module
v0.0.0-...-022d866 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2018 License: MIT Imports: 10 Imported by: 0

README

bsearch

Build Status Download

A utility for binary searching a sorted file for lines that start with the search key.

NAME:
   bsearch - utility for binary searching a sorted file for lines that start with the search key

USAGE:
   bsearch [options] SEARCH_KEY FILENAME

VERSION:
   1.0.2

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -r, --reverse      the reverse flag indicates the file is sorted in descending order
   -i, --ignore-case  case insensitive
   -t, --trim         ignore whitespace
   -n, --numeric      use numeric comparison
   --help, -h         show help
   --version, -v      print the version

Download Binaries

Binaries are available for Linux, Windows and macOS.

Download the latest version here.

Installing

You can install bsearch via the following OS specific repositories.

Debian/Ubuntu
# Add Bintray's GPG key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61

# Add the repository
echo "deb https://dl.bintray.com/jamesridgway/debian xenial main" | sudo tee -a /etc/apt/sources.list

# Update apt
sudo apt-get update

# Install
sudo apt-get install bsearch

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL