regex - Why is grep showing lines that don't match? -
I am trying to print all the lines with at least one letter which is not numerical.
My Grep code looks like this: Where GteSt is: < pre> I Am I missing something? Edit: Expected Production will be: grep '[^ [: Points:]] GteST
test 55 55 pink 123 ssas sas sas a1b2 abba doup dap 12 13 77 a 59360 and in gteast it is exactly the same except the matching parts of the lines (All alpha characters of aka) Instead of displaying matching letters in red, I would print lines / only / matching characters Want.
grep tag (-o, -w, etc.), but none of these do this for me.
Exam 55 55 Pink SAS AAA SAAAA SSA1B2 ABA Dup DAP 77A
Comments
Post a Comment