Up to [local] / src / usr.bin / grep
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_2
Revision 1.67 / (download) - annotate - [select for diffs], Tue Jul 12 18:09:31 2022 UTC (22 months, 4 weeks ago) by op
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.66: +7 -9 lines
Diff to previous 1.66 (colored)
grep: simplify printline, no functional changes in the previous revision (1.66) I added an extra variable to track wether we have printed the separator or not. Well, that's what the `n' variable is for, so no need to duplicate the logic.