OpenBSD CVS

CVS log for src/usr.bin/cut/cut.c


[BACK] Up to [local] / src / usr.bin / cut

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_2


Revision 1.23 / (download) - annotate - [select for diffs], Wed Dec 2 00:56:46 2015 UTC (8 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.22: +104 -66 lines
Diff to previous 1.22 (colored)

UTF-8 support: Implement -c and -n
and let -d accept a multibyte delimiter character.
While here, simplify the code by switching from fgetln(3) to getline(3)
and from hand-crafted string parsing to strstr(3) and strchr(3).
OK tedu@ czarkoff@ zhuk@.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.