1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-05-28 20:30:47 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
William Melody
124520efc4 Add show command and use that for list searches
Displaying a record pair for a hostname or IP address is likely a common
operation, and using the `show` name makes it clear what the primary
function of the command is. Since record pairs are very simple, the
easiest way to allow both hostname and ip address arguments is to use
grep, which also provides general search-like functionality. In order to
avoid doubling this functionality, use the `show` command in the `list`
command for search.
2015-03-18 16:07:49 -07:00
William Melody
cdf7793d7e Make list search terms match anywhere on the line
Making list more flexible enables searching for hostnames as well as
partial ip addresses.
2015-03-18 16:01:32 -07:00
William Melody
f7ed234951 Expand Readme slightly. 2015-03-16 20:13:19 -07:00
William Melody
a52020ed40 Add hosts file command to Readme. 2015-03-16 19:56:16 -07:00
William Melody
7607dfd262 Add edit command
`edit` open the hosts file in the editor specified in the $EDITOR
environment variable.
2015-03-16 17:39:50 -07:00
William Melody
fc60f3a0d7 Clarify usage information 2015-03-16 17:26:58 -07:00
William Melody
f714965f0f Add acknowledgements sections for script and Readme 2015-03-16 17:19:17 -07:00
William Melody
001fcfc959 Add initial Readme with basic information. 2015-03-16 17:08:59 -07:00