CBAR

Section: Misc. Reference Manual Pages (LOCAL)
Index Return to Main Contents
 

NAME

cbar - add change bars to a document  

SYNOPSIS

cbar [ bar-on bar-off ]

 

DESCRIPTION

Cbar inserts text-formatter commands into diff -e output to turn on and off change bars. This can then be fed back into ed(1) along with the original document to produce a new document that contains change bars wherever the new and old version of a document have differences.

bar-on and bar-off may be specified as the commands to turn on and off change bars, respecively. If not specified, @CBON and @CBOFF (for Scribe) are used.

 

EXAMPLE

diff -b -e old.mss new.mss | cbar | ed - old.mss >bars.mss
 

SEE ALSO

diff(1), ed(1)

 

BUGS

ed(1) commands on stdin must appear in decreasing line number order so that lines at the end of the file get edited first and lines at the beginning get edited last (diff -e does this). This restriction exists because additional lines are added to the file which will mess up the line numbering scheme if done in lowest-to-highest order.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 06:31:22 GMT, December 12, 2024