PDIFF(1)

🌸 PDIFF(1) β€” User Commands, bestie edition 🌸

okay so this is the pdiff page from the User Commands manual, and it's genuinely one of the cutest little tools β€” it makes your diffs look pretty instead of giving unformatted-wall-of-text energy. let's get into it πŸ’…


✨ NAME ✨

pdiff β€” produce a pretty comparison between files πŸŽ€

like, it diffs your files but makes it aesthetic. that's the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

pdiff FILE1 FILE2 [-- A2PS-OPTIONS...]

two files in, pretty diff out. and if you wanna pass extra stuff to a2ps, you do it after a --. iykyk ✨


πŸ’– DESCRIPTION πŸ’–

Pretty print the differences between FILE1 and FILE2. that's it, that's the whole thing, and honestly? iconic. it takes your boring raw diff and gives it main character energy 🌈


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” display this help and exit. your classic "help me pls" flag 🫢
  • -v, --version β€” display version information and exit. for when you gotta know exactly what you're running πŸ’œ
  • -q, --quiet β€” don't print informational messages. silence is golden, no cap 🀫
  • -l, --lines β€” search for line differences (diff). the classic, line-by-line tea β˜•
  • -w, --words β€” search for word differences (wdiff). zoomed way in, word by word, lowkey obsessed πŸ”
  • -o, --output=FILE β€” save the output in FILE. gotta keep the receipts πŸ“

Options for a2ps are given after --, for instance

$ pdiff COPYING COPYING.LIB -- -Pdisplay
πŸ’‘ side note fr: anything after that -- goes straight to a2ps, not to pdiff. don't mix 'em up bestie.

News, updates and documentation: https://www.gnu.org/software/a2ps/ β€” go be nosy, it's fine 🌸


🧚 AUTHOR 🧚

Written by Akim Demaille. giving credit where credit is due, periodt πŸ’…


πŸ’€ REPORTING BUGS πŸ’€

Report bugs to <bug-a2ps@gnu.org>. found something cursed? tell them, not me 😭


Copyright Β© 1997-1999 Akim Demaille, Miguel Santana

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

⚠️ okay this part is important so read it: NO warranty. like none. not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. so if it goes sideways, it goes sideways πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

(yes, pdiff(1) is literally in its own SEE ALSO list β€” self-love, we stan πŸ‘‘)

The full documentation for pdiff is maintained as a Texinfo manual. If the info and pdiff programs are properly installed at your site, the command

info pdiff

should give you access to the complete manual. go read the whole thing, it's giving "required reading" πŸ“šβœ¨


and that's the page!! this one's pdiff 0.4 (GNU a2ps 4.15.7), dated December 2025 β€” so it's fresh, it's current, it's slaying πŸ’– bye bestie, happy diffing! πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from