% grep perl ~/Mail/save
> and some of it wouldn't compile properly. I wonder if
Subject: install script, for perl scripts
perl itself is installed?
> run but dies with a read error because it isn't properly
> if I can get it installed properly on another machine I
> run but dies with a read error because it isn't properly
> if I can get it installed properly on another machine I
Well, as described on its own manual page, here's a
program that's "trivial, but
cute." hgrep runs a
grep and highlights the string being searched for,
to make it easier for us to find what we're looking
for.
% hgrep perl ~/Mail/save
> and some of it wouldn't compile properly. I wonder if
Subject: install script, for perl scripts
perl itself is installed?
> run but dies with a read error because it isn't properly
> if I can get it installed properly on another machine I
> run but dies with a read error because it isn't properly
> if I can get it installed properly on another machine I
And now we know why the output looked useless: because most of it is!
Luckily, hgrep is just a frontend; it simply
passes all its arguments to grep. So
hgrep necessarily accepts all of
grep's options, and I can just
use the -w option to pare the output down to what I
want:
% hgrep -w perl ~/Mail/save
Subject: install script, for perl scripts
perl itself is installed?