Hardik Trivedi wrote:http://www.sourcecodesworld.com/source/show.asp?ScriptID=836
Aditya Sirohi wrote:i want to consider the white space too and grep all the lines that are present in both the file irrespective of what line number they appear.
All these statement could mean slightly different things to different people. What does "consider the white space too" mean exactly? if file 'a' has "fred " and file 'b' has "fred", is that a match or not?
Aditya Sirohi wrote:
2. for each line in file 'a', check whether is present in file 'b', if its there then print the line.
Do not threaten THIS beaver! Not even with this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your databasehttps://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database