IDIFF(1)

πŸŽ€ NAME πŸŽ€

okay so this is the IDIFF(1) manual page from the General Commands Manual, and the command is idiff β€” literally interactive diff, bestie. no cap, that's the whole name. πŸ’…

✨ SYNOPSIS ✨

idiff [ -bw ] file1 file2

πŸ’… DESCRIPTION πŸ’…

idiff interactively merges file1 and file2 onto standard output. the way that works: wherever file1 and file2 differ, idiff displays the differences in the style of diff -n on standard error and prompts the user to select a chunk. iconic behavior, honestly. πŸ¦‹

Valid responses are:

  • < β€” use the chunk from file1.
  • > β€” use the chunk from file2.
  • = β€” use the diff output itself.
  • q<, q>, q= β€” use the given response for all future questions.
  • !cmd β€” execute cmd and prompt again.

idiff invokes diff(1) to compare the files. the -b and -w flags, if passed, are passed to diff. that's it, that's the tea. 🫢

πŸ—‚οΈ FILES πŸ—‚οΈ

  • /tmp/idiff.* β€” the file pattern, bestie. πŸŽ€

🧚 SOURCE 🧚

  • /src/cmd/idiff.c β€” source file location, slay. ✨

πŸ‘€ SEE ALSO πŸ‘€

  • diff(1)
  • Kernighan and Pike, The Unix Programming Environment, Prentice-Hall, 1984.

and that's the IDIFF(1) footer sign-off, bestie β€” source: /src/cmd/idiff.c, footer: just the manual name, no date/version tea, periodt πŸ’…πŸ’–