SEXPP(1)

πŸ“¦
version 0.9.2 Β· 2 versions
, in alpine 3.24, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ SEXPP(1) ✨

okay so bestie, welcome to the User Commands section of the manual β€” this is the whole vibe on sexpp, and honestly? she's giving main character energy πŸ’…


πŸ’– NAME πŸ’–

sexpp β€” read, parse, and print out S-expressions. that's it. that's the whole job. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

cat certificate-file | sexpp -a -x

🌸 DESCRIPTION 🌸

so sexpp typically reads an S-expression from standard input and then rewrites it to standard output. like, it eats the sexp, chews it up, and spits it back out. iconic behaviour honestly 🫢

running with no switches at all? that lowkey implies:

-p -a -b -c -x

which is a whole mood, but we'll get to what each one means πŸ’€


πŸŽ€ INPUT OPTIONS πŸŽ€

where does the tea come from? that's this section. pick your source, bestie.

  • -i filename β€” takes input from a file instead of stdin. not me avoiding the terminal pipeline entirely πŸ™ˆ
  • -p β€” prompts the user for console input. it's gonna ask you directly, so be ready to type ✨
  • -s β€” treats input up to EOF as a single string, instead of parsing it. so like, no parsing girlies here, we're just taking the whole thing raw πŸ“

πŸ”₯ CONTROL LOOP πŸ”₯

the main routine typically reads one S-expression, prints it out again, and then stops. just one. one and done. very demure, very mindful. but you can change that:

  • -x β€” execute the main loop repeatedly until end of file. it just keeps going. she doesn't stop, she doesn't quit πŸ‘‘

πŸ’œ OUTPUT OPTIONS πŸ’œ

the output format is normally canonical, but bestie you can change that. and here's the tea: more than one output format can be requested at once. stack 'em. collect 'em. slay ✨

  • -o filename β€” write output to a file instead of stdout. bye bye terminal, hello file πŸŽ€
  • -a β€” write output in advanced transport format
  • -b β€” write output in base-64 output format
  • -c β€” write output in canonical format
  • -l β€” suppress linefeeds after output. no little newlines, they're gone, they've left the chat πŸ’€
  • -w width β€” changes line width to the specified width (where 0 implies no line-width constraint). default is 75. so if you want chaos, pass 0 and let her run free 🌈

🌟 AUTHOR 🌟

the sexpp project is maintained by Maxim Samsonov on behalf of Ribose, Inc. β€” and it's based on code from Ron Rivest and Butler Lampson. this manual page was written by Daniel Kahn Gillmor for the Debian project, but may be used by others. shoutout to the whole squad honestly πŸ«ΆπŸ‘‘


🌈 SEE ALSO 🌈


okay that's the whole page bestie, go forth and parse responsibly πŸ’–

this was sexpp, March 2025, page SEXPP(1) β€” tysm for reading, mwah πŸ’…βœ¨