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

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -