hi
I have the file:
# more file
(WORD = (TCPIP = (PROTOCOL = TCP)(WORD = ALIAS_NAME)(PORT = 10234))
but when I try to match part of the line (by grep -w) in the file , grep also match the line (inspite this is part of the full line)
grep -w "(TCPIP = (PROTOCOL = TCP)(WORD = ALIAS_NAME)(PORT = 10234))" file
(WORD = (TCPIP = (PROTOCOL = TCP)(WORD = ALIAS_NAME)(PORT = 10234))
my question how to match exactly the line in the file
so if I use grep or something else like sed/awk it will be match only the full line?
Lidia