TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: sol – A de-minifier and formatter for shell one-liners

2 pointsby noperator9 months ago
I&#x27;ve built a tool called sol (like &quot;soul&quot;) that helps you inspect and format complex shell one-liners.<p>Features:<p>- Choose which transformations you want (break on pipe, args, redirect, whatever)<p>- &quot;Peeks&quot; into stringified commands (think xargs, parallel) and formats those, too<p>- Auto-breaks at a given width (e.g., 80 characters)<p>- Shows you non-standard aliases, functions, files, etc. that you might not have in your shell environment<p>- Breaks up long jq lines with jqfmt because—let&#x27;s be honest—they&#x27;re getting out of hand<p>As a security researcher and tool developer, I often encounter (or create) long pipelined Bash commands. While quick and powerful, they can be a nightmare to read or debug. I created sol to make it easier to understand and share these commands with others.

no comments

no comments