1

Unix Shell Scripting : Comparision of two files

view story
linux-howto

http://www.unix.com – Hi, We need to compare a text file File1.txt and config file File2.txt in a way that it checks if the content of File1.txt exists between the range mentioned in File2.cfg. The range here is the range between col1 and col2 of File2.cfg If the content of File1.txt lies between the range of File2.cfg then output should display the count of col3 of File2.cfg in Outputfile. For Example : File1.txt Code: 65005 65007 65006 27117 68700 68399 File2.cfg Code: col1        col2    col3 65005    65008    A 68399    68399  &nbs (HowTos)