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 inFILE. 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 toa2ps, not topdiff. 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 π
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
- arch rolling: a2ps 4.15.8-1 Β· GPL-3.0-or-later
- nixpkgs unstable: a2ps 4.15.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms