I don't think you want grep ...
The grep command is usually used to pull the entire line out of a file. The sed command might be better for this as you can pull out just a specific part of the line. You could use grep to find the line in the file, then use sed to pull out the section that you want. I've been looking at it, but my sed skills aren't all that great.
|