Word Search Using grep and AWK

In one of our project we needed to search for multiple words from a file and return the found words. These files would be large and there might be large number of words to search for also. Ruby has a good support for regexp, however it would be slow in doing these searches for patterns as compared to unix commands and hence we decided to look for certain unix commands for doing these searches. We went through “grep“, “awk” and

Continue Reading

Site Footer