From bafa9553082901116114289c4cf476acaa50a268 Mon Sep 17 00:00:00 2001 From: William Melody Date: Mon, 16 Mar 2015 19:48:16 -0700 Subject: [PATCH] Add `file` command This command simply runs `cat` on /etc/hosts --- hosts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts b/hosts index 55543c7..bb37d96 100755 --- a/hosts +++ b/hosts @@ -567,6 +567,7 @@ Usage: $_me remove $_me list [127.] $_me edit + $_me file $_me command [--command-options] [] $_me -h | --help $_me --version @@ -683,6 +684,15 @@ edit() { fi } +# ------------------------------------------------------------------------ file + +desc file <