egrep more consecutive characters or numbers measured

egrep -ha '^.{3}(ABC)|^.{3}[0-9]{3}'  11.TXT

4-6 is ABC

4-6 or 0-9

Guess you like

Origin www.cnblogs.com/kakaisgood/p/11963641.html