home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume18 / changebar / CONTENTS < prev    next >
Encoding:
Text File  |  1989-03-12  |  1.5 KB  |  34 lines

  1. The shell script 'changebar' uses Larry Wall's 'patch' program
  2. to automatically install "change-bars" into an nroff/troff document.
  3. The output of a context diff is modified by a lex-generated c program
  4. to incorporate the changebars as though they are part of the differences
  5. between the two files in the first place.  Then when patch runs, it
  6. adds the change bars to the text.  After the patch processing, one more
  7. post-processing operation is performed to add line feeds to the final
  8. text, replacing ^G characters that were installed so that patch would
  9. be able to run entirely unmodified.
  10.  
  11. My thanks to Larry Wall for creating 'patch' in the first place.
  12. This program was prompted by a request by some of my engineers who
  13. wanted to be able to "use SCCS to edit to my heart's content, then
  14. when finally ready to reissue the document, have the change bars
  15. installed automatically."  It seems to work, so here it is.  If
  16. anyone makes any changes, I would like to hear about them; hope it
  17. helps a few folks.
  18.  
  19. Released to the public domain, unsupported, do with it as you wish.
  20.  
  21. The files contained here are:
  22.     changebar - a shell script
  23.     chbar.lex - the lex script that compiles into a
  24.             context-diff examiner/modifier as a
  25.             preprocessing step before patch is used.
  26.     chbar.1   - the man page that explains chbar.lex
  27.     changebar.1 - the man page for the changebar script.
  28.               The FILES item will have to be modified
  29.               depending on where on your own system
  30.               you install things.
  31.  
  32. Rob Peck    Ardent Computer, 880 W. Maude Ave, Sunnyvale, Ca. 94086
  33.  
  34.