diff2php(1)
β¨ NAME β¨
diff2php β bestie, this little icon transforms a patch into a self-serving PHP file π
π SYNTAX π
diff2php file
yeah that's it. one argument. no notes. β¨
πΈ DESCRIPTION πΈ
okay so imagine you have a patch and you're like "girl, I need this to be a whole website" β that's literally the assignment. π¦
diff2php takes one file, and it creates a PHP file out of that patch. and here's the slay part: that PHP file is self-serving β like, it's giving main character energy, it serves itself, no extra help needed. π
so when someone views that PHP file, it does one of two things, depending on what they want:
- it serves the patch as colored HTML when it's being viewed, so your patch is looking cute and readable, highlighted and all π
- OR it serves the patch as raw
text/plainfor downloading, so anyone can just grab it as a plain file π₯
and that's the whole vibe check. patch goes in, self-serving PHP file comes out. ate. π
π SEE ALSO π
hxtools(7)β the rest of the hxtools family, go say hi π«Ά
okay bestie that's the whole page πΈ this was hxtools, dated 2008-02-06 β like, vintage but still iconic, fr fr πβ¨π thank you for coming to my ted talk, ily, mwah π π¦
π¦ where this page comes from
- debian bookworm: hxtools 20221119-1 Β· MIT
- debian trixie: hxtools 20231224-2+b2 Β· MIT
- nixos 26.05: hxtools 20251011
- nixpkgs unstable: hxtools 20251011
- opensuse-leap 16.0: hxtools-man 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- ubuntu jammy: hxtools 20211204-1 Β· GPL-2.0-or-later OR GPL-2+3 OR WTFPL
- ubuntu noble: hxtools 20231224-2ubuntu1 Β· MIT
- ubuntu questing: hxtools 20231224-2ubuntu1
- ubuntu resolute: hxtools 20251011-1 Β· MIT
- ubuntu stonking: hxtools 20251011-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms