I'm not sure how to approach this - I'm trying to create a script that will read through every file in a given directory take any lines containing a certain string, let's say 'bla', and copy them to a new file, giving me a file just with lines containing the string I'm searching for.
I'm not even sure where to look at the documentation.. If someone could point me in the right direction or give me some sample code I'd greatly appreciate it.