CHBAR
Section: User Contributed Software (1L)
Updated: October 7, 1988
Index
Return to Main Contents
NAME
chbar - modify a context diff to add change bars
before running patch
SYNOPSIS
changebar OLDFILE NEWFILE
FUNCTION
Installs ".mc |^G" as part of the first line of a changed-line
region and is part of the first line of a region of added-lines
as indicated by a context diff
(diff -c oldfile newfile).
Also installs "^G.mc" as part of the last line of a changed-line
region, and as part of the last line of an added-line region.
This fools the patch program into believing that these characters
are part of the patch to be installed to create the new file.
Following running patch, a filter must be run to change the
Control-G characters into line feeds; results in placing
the ".mc |" on a separate line ahead of the changed region
and the ".mc" on a separate line just following the end of
the changed region, thus causing the region to be marked.
LIMITATIONS
See LIMITATIONS in the man-page that describes ``changebar''.
AUTHOR
Rob Peck - Ardent Computer
FILES
/usr/local/lib/chbar.lex
/usr/local/bin/chbar
/usr/local/lib/PATCH.src (source directory)
/usr/local/bin/patch (by Larry Wall) - version 2.0
/usr/local/bin/changebar (a shell script)
BUGS
None known at this time.
DATE
10/7/88
Index
- NAME
-
- SYNOPSIS
-
- FUNCTION
-
- LIMITATIONS
-
- AUTHOR
-
- FILES
-
- BUGS
-
- DATE
-
This document was created by
man2html,
using the manual pages.
Time: 21:50:44 GMT, February 02, 2023