Subj : Questions for them
To   : Carol Shenkenberger
From : Markus Reschke
Date : Tue Nov 14 2017 11:23 am

Hi Carol!

Nov 13 18:27 2017, Carol Shenkenberger wrote to Alexey Vissarionov:

AV>> gremlin@fido:~ > grep ^link ~/fido/etc/links | wc -l
AV>> 202

CS> Smile, you may have to explain that to the average person here trying
CS> to figure out who to vote for as the RC calls come out.  Most are not
CS> *nix admin or use husky.  I would hope all knw you are very technical
CS> but suspect you zoomed over many heads there that are going to be
CS> voting.

CS> (For the rest, been a bit but he seems to be pulling up a list of
CS> links? I am not a *nix person other than casually since about 2002 and
CS> i never used HPT. I could be wrong but he looks tobe piping changes
CS> to commit them to some HPT area then greping them back out.  AV is
CS> very technical and no one would disagree with that statement.  He's
CS> probably the most technical on the FTSC).

Unfortunately his search pattern isn't specific enough to catch only the links,
since there are several keyworks starting with "link". The next point is that
the keywords might also be uppercase. And the "wc -l" for counting the matching
lines can be omitted too:

grep -ic "^link\s" ~/fido/etc/links

-i disables case-sensitive matching
-c for counting the matches
^ line starts with given pattern
\s any whitspace character


Sorry! I couldn't resist ;)

ciao,
Markus

---
* Origin: *** theca tabellaria *** (2:240/1661)