mirror of
https://github.com/octoleo/hosts.git
synced 2025-02-03 19:18:23 +00:00
William Melody
e867492064
In
remove
, delete the link in place rather than blanking first
When using the pattern of blanking the lines first and then deleting the blank lines, the program ends up deleting potentially intentional blank lines. In order to avoid this, use a simple delete rather than the blanking + blank line deleting pattern.
Hosts
A program for managing host file entries.
Usage
Usage:
hosts add <ip> <hostname>
hosts remove <hostname>
hosts list [127.]
hosts edit
Acknowledgements
Based on prior work by:
Original idea and interface (since changed) via:
Languages
Shell
99.8%
Makefile
0.2%