The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD textproc : cdif

Word context diff

 Usage: cdif [-Bvns] [-A #] [-C #] [-D #] [-I #] [-e #] [-[bwcu]] file1 file2
       cdif [-rcs] [-q] [-rrev1 [-rrev2]] [$myname options] file
       cdif [$myname options] [diff-output-file]
Options:
	-B	byte compare
	-v	use video standout (default for tty)
	-n	use nroff style overstrike (default for non-tty)
	-b	ignore trailing blank
	-w	ignore whitespace
	-c[#]	context diff
	-u[#]	unified diff (if diff has -u option)
	-e #	expression of `word' (default is '\w+')
	-s	show statistical information at the end
	-A, -C, -D (Append, Change, Delete) takes one of
		vso: video standout
		vul: video underline
		vbd: video bold
		bd:  nroff style overstrike
		ul:  nroff style underline
		or any sequence or sequences separated by comma
	-I	specify string to be shown on insertion point
		Following strings have special meanings.
		vbar:	print vertical bar at the point
		caret:	print caret under the point
	-diff=command
		specify any diff command
 

http://www.srekcah.org/~utashiro/perl/scripts/cdif/



cdif history


v. 1.6
date: 2006/04/24 09:33:35;  author: sanpei;  state: Exp;  lines: +3 -3
Unbreak and Update 1.19

Submitted by:	fenner's distfiles survey

v. 1.5 date: 2003/02/22 13:24:09; author: sanpei; state: Exp; lines: +2 -1 de-pkg-comment.
v. 1.4 date: 2000/09/21 15:23:43; author: sanpei; state: Exp; lines: +2 -3 sync $NetBSD: Makefile 1.3 $
v. 1.3 date: 2000/09/21 15:09:36; author: sanpei; state: Exp; lines: +2 -2 use ${PERL} Submitted by: knu
v. 1.2 date: 2000/09/21 12:02:08; author: sanpei; state: Exp; lines: +2 -2 use /usr/bin/perl, instead of ${LOCAL_BASE}/bin/perl Submitted by: Eivind Eklund
v. 1.1 date: 2000/07/22 13:51:22; author: sanpei; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 2000/07/22 13:51:22; author: sanpei; state: Exp; lines: +0 -0 Initial import of cdif-1.15 word context diff tool. ============================================================================= v. 1.6 date: 2006/04/24 09:33:35; author: sanpei; state: Exp; lines: +3 -3 Unbreak and Update 1.19 Submitted by: fenner's distfiles survey
v. 1.5 date: 2003/02/22 13:24:09; author: sanpei; state: Exp; lines: +2 -1 de-pkg-comment.
v. 1.4 date: 2000/09/21 15:23:43; author: sanpei; state: Exp; lines: +2 -3 sync $NetBSD: Makefile 1.3 $
v. 1.3 date: 2000/09/21 15:09:36; author: sanpei; state: Exp; lines: +2 -2 use ${PERL} Submitted by: knu
v. 1.2 date: 2000/09/21 12:02:08; author: sanpei; state: Exp; lines: +2 -2 use /usr/bin/perl, instead of ${LOCAL_BASE}/bin/perl Submitted by: Eivind Eklund
v. 1.1 date: 2000/07/22 13:51:22; author: sanpei; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 2000/07/22 13:51:22; author: sanpei; state: Exp; lines: +0 -0 Initial import of cdif-1.15 word context diff tool. ============================================================================= v. 1.6 date: 2006/04/24 09:33:35; author: sanpei; state: Exp; lines: +3 -3 Unbreak and Update 1.19 Submitted by: fenner's distfiles survey
v. 1.5 date: 2003/02/22 13:24:09; author: sanpei; state: Exp; lines: +2 -1 de-pkg-comment.
v. 1.4 date: 2000/09/21 15:23:43; author: sanpei; state: Exp; lines: +2 -3 sync $NetBSD: Makefile 1.3 $
v. 1.3 date: 2000/09/21 15:09:36; author: sanpei; state: Exp; lines: +2 -2 use ${PERL} Submitted by: knu
v. 1.2 date: 2000/09/21 12:02:08; author: sanpei; state: Exp; lines: +2 -2 use /usr/bin/perl, instead of ${LOCAL_BASE}/bin/perl Submitted by: Eivind Eklund
v. 1.1 date: 2000/07/22 13:51:22; author: sanpei; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 2000/07/22 13:51:22; author: sanpei; state: Exp; lines: +0 -0 Initial import of cdif-1.15 word context diff tool. =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm