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: *nixy filter to color stdout, by rows or space-separated columns

36 pointsby devnonymousabout 8 years ago

4 comments

devnonymousabout 8 years ago
I created this script a few days ago and it has proved it be quite useful. It isn&#x27;t polished (ie: no doc, tests ..not even &#x27;standard&#x27; arg parsing) but it has made debugging and reading logs so much easier that I thought I just had to share it. Comments and PRs welcome.<p>PS: note, feel free to fork and make it &#x27;Enterprise ready&#x27;, if you are inclined to but I will be very reluctant to add bloaty ^features^ to this.
评论 #13902384 未加载
basenameabout 8 years ago
I&#x27;ve been looking for a simple way to separate commands from their arguments, in &#x27;history&#x27; output. Aliased.<p><pre><code> [ -x $HOME&#x2F;bin&#x2F;colorize.py ] &amp;&amp; alias h=&quot;history | colorize.py 4&quot;</code></pre>
ninjuabout 8 years ago
Cool tool... One small hiccup that I saw in the demo when listing files in &#x27;alternate&#x27; mode, when the last row was gray the background showed &#x27;black&#x27; after the last characters
评论 #13902462 未加载
louskenabout 8 years ago
that tail looks very useful, thanks!