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 doSTDOUT. (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
- debian bookworm: sedsed 2.0.0-2 Β· GPL-3.0-only
- debian trixie: sedsed 2.0.0-3 Β· GPL-3.0-only
- ubuntu noble: sedsed 2.0.0-3 Β· GPL-3.0-only
- ubuntu questing: sedsed 2.0.0-3
- ubuntu resolute: sedsed 2.0.0-3build1 Β· GPL-3.0-only
- ubuntu stonking: sedsed 2.0.0-3build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms