PUUDECODE(1)

πŸ“¦
version 0.5201 Β· 4 versions
, in epel 9

πŸ’… PUUDECODE(1) πŸ’…

okay so first things first β€” welcome to the User Contributed Perl Documentation section of the manual, bestie 🫢 this little icon lives there, and honestly? it's giving "small script, big heart" energy.


✨ NAME ✨

puudecode β€” it's literally a perl replacement for uudecode, no cap πŸŽ€


🌸 SYNOPSIS 🌸

puudecode inputfile

that's it. one argument. one file. we love a minimal queen πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: uudecode reads a uuencoded inputfile, and then it writes the decoded string out to the file named inside the uuencoded string itself β€” not a filename you pick, the one hiding in the data, iykyk πŸ’–

and it doesn't stop there, because she's thorough: it also changes the permissions to the mode given in the uuencoded string πŸ”₯ so the file comes out looking exactly how the encoding said it should. main character permission energy fr fr.

πŸ’€ tiny warning bestie: the output filename and the permission mode both come from inside the uuencoded data β€” not from you β€” so just know that's where they're coming from 🫢

πŸ™ˆ BUGS πŸ™ˆ

okay so we gotta be honest here, no gatekeeping 😭 this implementation is much slower than most uudecode programs written in C. like, noticeably. the C ones are speed demons, this one is more of a "take your time, enjoy the scenery" situation 🐒

but β€” and this is the important part β€” that's lowkey the whole point. its primary intention is to allow quick testing of the underlying Convert::UU module ✨ it's a test harness with a cute little CLI on top, not a performance flex πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

  • puuencode(1) β€” the other half of the duo, go say hi πŸŽ€
  • Convert::UU(3) β€” the actual module underneath all this, the real MVP 🌟

πŸ’œ AUTHOR πŸ’œ

Andreas Koenig <andreas.koenig@anima.de> β€” thank you for your service, king πŸ«ΆπŸ‘‘


and that's the whole page, bestie!! 🌈 this one came from perl v5.32.1, dated 2024-01-25 β€” so go forth, decode responsibly, and remember: slow and steady still slays πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from