sedsed(1)

πŸ’– sedsed β€” the manual page, but make it cute πŸ’–

okay bestie, sit down, hydrate, because sedsed(1) is genuinely one of those tools that feels like a secret cheat code and i need you to know about it. it's the debugger and code formatter for sed scripts, and yes, i am obsessed. no cap. πŸ¦‹


✨ NAME ✨

sedsed β€” debugger and code formatter for sed scripts πŸ’…


🌸 SYNOPSIS 🌸

sedsed OPTION [-e sedscript] [-f sedscriptfile] [inputfile]

like. look at that. one line, so much power. 😭


πŸŽ€ DESCRIPTION πŸŽ€

so sedsed has four whole moods, and it can debug, indent, tokenize and HTMLize sed scripts. that's four slays in one binary, fr fr.

in debug mode, it reads the target script and adds extra commands to it. when executed it shows the data flow between the commands, revealing all the magic sed does on its internal buffers. it's giving x-ray vision for your sed script, and honestly it's iconic. πŸ‘‘

in indent mode, the script is reformatted with standard spacing. clean. tidy. main character energy. ✨

in tokenize mode, it shows the elements of every command used. every single one. we love a thorough queen. πŸŽ€

in HTMLize mode, the script is converted to a beautiful colored HTML file, with all the commands and parameters identified for best viewing. literally gorgeous. πŸ’–


πŸ’… OPTIONS πŸ’…

  • -f, --file β€” add file contents to the commands to be parsed. yes bestie, bring the whole file. πŸ“
  • -e, --expression β€” add the script to the commands to be parsed. the classic one-liner move. ✨
  • -n, --quiet β€” suppress automatic printing of pattern space. it will NOT print unless you ask, and honestly? boundaries. πŸ’…
  • --silent β€” alias to --quiet. same vibe, different name. πŸ™ˆ
  • -d, --debug β€” debug the sed script. this is the whole point, the moment, the slay. πŸ”₯
  • --hide β€” hide some debug info (options: PATT, HOLD, COMM). keep your secrets, bestie. 🀫
  • --color β€” shows debug output in colors (default: ON). rainbow mode is the default because of course it is. 🌈
  • --nocolor β€” no colors on debug output. for when you're in a monochrome mood. lowkey valid. πŸ–€
  • --dump-debug β€” dumps to screen the debugged sed script. show me everything. no gatekeeping. πŸ‘€
  • -i, --indent β€” script beautifier, prints indented and one-command-per-line output do STDOUT. (yes, the manpage says "do" β€” we keep the facts exactly as they are, we just love them loudly.) πŸ’–
  • --prefix β€” indent prefix string (default: 4 spaces). customize your lil indent bestie. πŸŽ€
  • -t, --tokenize β€” script tokenizer, prints extensive command by command information. the detail queen behavior. πŸ”
  • -H, --htmlize β€” converts sed script to a colorful HTML page. take it to the web, make it pretty. 🌸
  • -V, --version β€” prints the program version and exit. quick lil hello. πŸ‘‹
  • -h, --help β€” prints this help message and exit. when in doubt, ask for help. always valid. 🫢

πŸ’œ AUTHOR πŸ’œ

okay giving credit where credit is due, because we always do:

sedsed was written by Aurelio Jargas <aurelio@aurelio.net>. absolute legend behavior, no notes. 🌟

This manual page was written by Marcos Talau <marcos@talau.info> for the Debian project (but may be used by others). generous AND talented, we stan. πŸŽ€


and that's the whole page, bestie! πŸ¦‹ this cutie is version sedsed-2.0.0, dated 08 Dec 2021, and it lives its best life in section sedsed(1). go forth and debug your sed scripts like the main character you are. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from