DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(diff.info.gz) Detailed Context

Info Catalog (diff.info.gz) Context Format (diff.info.gz) Example Context
 
 Detailed Description of Context Format
 ......................................
 
    The context output format starts with a two-line header, which looks
 like this:
 
      *** FROM-FILE FROM-FILE-MODIFICATION-TIME
      --- TO-FILE TO-FILE-MODIFICATION TIME
 
 The time stamp normally looks like `2002-02-21 23:30:39.942229878
 -0800' to indicate the date, time with fractional seconds, and time
 zone in Internet RFC 2822 format
 (ftp://ftp.isi.edu/in-notes/rfc2822.txt).  However, a traditional time
 stamp like `Thu Feb 21 23:30:39 2002' is used if the `LC_TIME' locale
 category is either `C' or `POSIX'.
 
    You can change the header's content with the `--label=LABEL' option;
 see  Alternate Names.
 
    Next come one or more hunks of differences; each hunk shows one area
 where the files differ.  Context format hunks look like this:
 
      ***************
      *** FROM-FILE-LINE-RANGE ****
        FROM-FILE-LINE
        FROM-FILE-LINE...
      --- TO-FILE-LINE-RANGE ----
        TO-FILE-LINE
        TO-FILE-LINE...
 
    The lines of context around the lines that differ start with two
 space characters.  The lines that differ between the two files start
 with one of the following indicator characters, followed by a space
 character:
 
 `!'
      A line that is part of a group of one or more lines that changed
      between the two files.  There is a corresponding group of lines
      marked with `!' in the part of this hunk for the other file.
 
 `+'
      An "inserted" line in the second file that corresponds to nothing
      in the first file.
 
 `-'
      A "deleted" line in the first file that corresponds to nothing in
      the second file.
 
    If all of the changes in a hunk are insertions, the lines of
 FROM-FILE are omitted.  If all of the changes are deletions, the lines
 of TO-FILE are omitted.
 
Info Catalog (diff.info.gz) Context Format (diff.info.gz) Example Context
automatically generated byinfo2html