Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: othersrc/usr.bin/grep
Module Name: othersrc
Committed By: cjep
Date: Sun Jun 1 13:01:54 UTC 2003
Modified Files:
othersrc/usr.bin/grep: grep.c grep.h queue.c util.c
Log Message:
Implement -o. Start of implementation of --colo(u)r.
When processing the line, keep track of the matches inside it. When printing
the line, only print matches if the -o flag is supplied or print the
matched part in colour (green) if using --color or --colour.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 othersrc/usr.bin/grep/grep.c
cvs rdiff -r1.12 -r1.13 othersrc/usr.bin/grep/grep.h
cvs rdiff -r1.3 -r1.4 othersrc/usr.bin/grep/queue.c
cvs rdiff -r1.14 -r1.15 othersrc/usr.bin/grep/util.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index