grep -lr "[[:digit:]]\{3\}[-]\?[[:digit:]]\{3\}[-]\?[[:digit:]]\{4\}" *
for US tel numbers.
grep 123-344-5678 *
cat ex3.cpp | grep 123-344-5678
Road to my grill day ...
grep -lr "[[:digit:]]\{3\}[-]\?[[:digit:]]\{3\}[-]\?[[:digit:]]\{4\}" *
grep 123-344-5678 *
cat ex3.cpp | grep 123-344-5678
No comments:
Post a Comment