i need to implement a Grep command example in Java as well as print the line where the searched word is found in the file. Although my program does search the word in the file it does not print its line number. I implemented the above technique, but its not working. Please guide me
View All Comments
| View Tutorial