Hi All Linuxee,
Just now I became new members and Hi to all !!
I have file in which there are various fields containing Date of Birth , Name , Id No.,Location. What I want is to print only all persons having same Date of Birth and residing in same city ? for that how to match the strings using awk or sed or perl ??
I have already tried with
awk '$1 == prev {print; prev = $1 }' foo > output
but not successful ?
Also pls eloborate how to match the numeric and strings if possible.
Thankq in advance for going through this !!