MAN.9FRONT.ORG RTFM


     VDIFF(1)                                                 VDIFF(1)

     NAME
          vdiff - a visual diff viewer

     SYNOPSIS
          vdiff [ -b ] [ -p strip ]

     DESCRIPTION
          vdiff reads unified diff output from standard input and dis-
          plays a colored version. Each file diff is displayed in a
          separate block that can be collapsed by a click on the file
          name. Right clicking on a line will send a plumb(6) message
          to the edit port. Pressing q or del will exit vdiff.

          The -b flag changes the color scheme to white text on a
          black background.

          The -p nstrip flag removes nstrip path elements from path
          before plumbing.

     EXAMPLE
          % git/diff |vdiff

     SOURCE
          /sys/src/cmd/vdiff.c

     SEE ALSO
          diff(1)

     HISTORY
          vdiff first appeared in 9front (January, 2024).