forked from rauchg/spot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |