Gabriel L Somlo wrote: > use the '-o' flag to grep, which will only show the matching pattern > rather than the whole line containing it... Well, that would certainly be the obvious answer I was looking for, but the grep commands I have don't support the -o flag. :(