I've writing a script that searches specific lines within a file and outputs them to a variable. Head | Tail combinations and sed -n ?p combinations all seem to be very slow as you get into a large file (25MB or so). Is there some way, maybe with awk or nawk to quickly send a specific line to standard output?
I'm writing this in csh.
Thanks!
I'm writing this in csh.
Thanks!