PPSH(1)
π PPSH(1) β the general commands manual, but make it cute π
okay bestie, gather round, because this is ppsh from section 1 of the manual, and she is iconic in the most lowkey way possible. no cap. π
β¨ NAME β¨
ppsh β parse and pretty print arbitrary Haskell Show output π¦
like. she takes the ugly and makes it serve. that's the whole job. periodt.
πΈ SYNOPSIS πΈ
ppsh
that's it. that's the whole invocation. no flags, no arguments, no drama. she just is. main character energy fr fr π
π DESCRIPTION π
okay so here's the tea, bestie:
the ppsh program takes the output of an arbitrary Haskell Show output on stdin and pretty prints it to stdout. π«Ά
read that again. she reads from stdin, she writes to stdout, she does not ask questions, she does not take a filename, she does not take a flag. you pipe into her and she slays. that's the vibe.
and the way she does it?? she uses the library provided in the libghc-pretty-show-dev package to parse the input and pretty print the output. β¨ so if you're out here wondering "wait, where does the magic come from" β it comes from libghc-pretty-show-dev, babe. that's the source. that's the plug. iykyk.
so like:
- input: arbitrary Haskell
Showoutput, arriving on stdin π₯ - output: the same thing but pretty, landing on stdout π€
- the engine behind it: the library in the
libghc-pretty-show-devpackage π₯
she is genuinely so good at what she does and she makes it look effortless. obsessed. ππ
π AUTHOR π
this manual page was written by Erik de Castro Lopo <erikd@mega-nerd.com> and is released under the same license as the pretty-show package. π
shoutout to Erik, honestly. writing a manpage AND releasing it under the same license as the pretty-show package? that's classy. that's respectful. we love to see it. π«Ά
π SEE ALSO π
ok so there's genuinely nothing listed here in the original, bestie β no cross-references, no companion pages, no "go read this next." ppsh stands alone. she's self-sufficient. she's that girl. π
and that's the whole page!! π¦
cute little sign-off for you: this one comes from the General Commands Manual, dated July 23, 2010 β which, yes, is giving vintage, but the pretty-printing is forever. β
stay parsing, stay pretty, and remember: pipe it into ppsh and let her handle it. ππ
byeeee πβ¨
π¦ where this page comes from
- debian bookworm: ppsh 1.10-2+b2 Β· BSD3 style
- debian trixie: ppsh 1.10-4+b1 Β· BSD3 style
- ubuntu jammy: ppsh 1.10-1build3.1 Β· BSD3 style
- ubuntu noble: ppsh 1.10-3build2 Β· BSD3 style
- ubuntu questing: ppsh 1.10-4
- ubuntu resolute: ppsh 1.10-5 Β· BSD3 style
- ubuntu stonking: ppsh 1.10-5 Β· BSD3 style
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms