grep.c: extract show_line_header()