PYTHON3-UNIDIFF(1)
π PYTHON3-UNIDIFF β the manual page, but make it cute
okay bestie, welcome to the python3-unidiff manual page (section 1, User Commands, in case you were wondering which shelf it lives on) π
β¨ NAME β¨
python3-unidiff β a unified diff Python parsing/metadata extraction library π¦
like. it parses diffs. it extracts metadata. it's a library, it's a tool, it's giving both π
πΈ SYNOPSIS πΈ
python3-unidiff [options]
that's it. that's the whole vibe. options go in, magic comes out β¨
π«Ά DESCRIPTION π«Ά
so python3-unidiff is a tool for processing unified diff data. unified diffs!! the ---/+++/@@ situation, you know the one π
it can read diff data from a file or from standard input, and then β only if you want it to β optionally output the diff to stdout. no cap.
basically: diff data goes in, processed diff data comes out. main character energy fr fr π
π OPTIONS π
-h,--helpβ show this help message and exit. the classic. the icon. the "bestie I'm lost" button π₯Ί--show-diffβ output the diff tostdout. you want the diff shown? she'll show it π-f,--file_DIFF_FILE_ β read diff data from the specified file. and if you don't specify one? she reads diff data fromstdininstead. no file, no problem, she's flexible like that π
β EXAMPLES β
here's where it gets fun, get in bestie we're going shopping ποΈ
git diff | python3-unidiff
run the tool with diff data from git diff. pipe it straight in, chef's kiss π₯
hg diff | python3-unidiff --show-diff
run the tool with diff data from hg diff and output the diff to stdout. mercurial girlies, this one's for you π§
python3-unidiff -f patch.diff
run the tool with diff data from the specified file patch.diff. file-based, very demure, very mindful π
π AUTHOR π
Yogeswaran Umasankar <kd8mbd@gmail.com>
shoutout to the author, we love a legend π
π REPORTING BUGS π
found a bug? report bugs to the Debian Bug Tracking System at https://bugs.debian.org/. be nice, be specific, include the details β the devs deserve it π«Ά
ngl bestie, if a diff is malformed or something's undefined, just remember: the manual only promises what the manual promises. don't go inventing behaviour, that's not the vibe π
and that's the whole page!! slay β¨ this was python3-unidiff version 1.0, dated June 2024 β thanks for reading, mwah, go parse some diffs ππ
πΈ
π¦ where this page comes from
- debian trixie: python3-unidiff 0.7.5-2 Β· MIT
- ubuntu questing: python3-unidiff 0.7.5-2
- ubuntu resolute: python3-unidiff 0.7.5-2build1 Β· MIT
- ubuntu stonking: python3-unidiff 0.7.5-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms