Skip to content

Commit

Permalink
Added spot.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tj authored and rauchg committed Mar 13, 2012
1 parent 4baf157 commit ef9908b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@

PREFIX = /usr/local
MANTASTIC = http://mantastic.herokuapp.com

docs: spot.1
man ./$<

spot.1: spot.md
curl -s -F page=@$< $(MANTASTIC) > $@

install:
cp spot.sh $(PREFIX)/bin/spot

uninstall:
rm -f $(PREFIX)/bin/spot

.PHONY: install uninstall
.PHONY: docs install uninstall
17 changes: 17 additions & 0 deletions spot.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "SPOT" "1" "March 2012" "" ""
.
.SH "NAME"
\fBspot\fR \-\- full\-text bash search utility
.
.SH "Synopsis"
spot [\-s|\-\-sensitive] [\-i|\-\-insensitive]
[\-C|\-\-no\-colors] [\-L|\-\-no\-linenums]
[\-h|\-\-help] [directory] [term \.\.\.]
.
.SH "Description"
By default unless \fB\-\-sensitive\fR or \fB\-\-insensitive\fR is
specified \fBspot(1)\fR implies \fB\-\-sensitive\fR when an
uppercased character is present in the search string\.
14 changes: 14 additions & 0 deletions spot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
spot(1) -- full-text bash search utility
===========================================

## Synopsis

spot [-s|--sensitive] [-i|--insensitive]
[-C|--no-colors] [-L|--no-linenums]
[-h|--help] [directory] [term ...]

## Description

By default unless `--sensitive` or `--insensitive` is
specified __spot(1)__ implies `--sensitive` when an
uppercased character is present in the search string.

0 comments on commit ef9908b

Please sign in to comment.