man grep shows this: -C, --context"[=NUM]" Print NUM lines (default 2) of output context. -NUM Same as --context=NUM lines of leading and trailing context. However, grep will never print any given line more than once. Jeff