linux - Grep for a special pattern -
i looking pattern 1 below-
.mm1(moda.portb) .mab(blah.pc)
i trying this-
grep -ir ".(*.*)" .
unfortunately, expression, lot of results like- .mm1(moda) .mab(blah)
how change pattern can grep files in directory expression - .characters(characters.characters)
help appreciated, !
i'm not on unix environment sorry not testing, seems me wanna escape periods:
grep -ir "\.(*\.*)" .
Comments
Post a Comment