TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Grep with colours written in Go

127 点作者 arsham将近 7 年前

9 条评论

abstractbeliefs将近 7 年前
Do be sure to at least consider supporting no colour! <a href="http:&#x2F;&#x2F;no-color.org" rel="nofollow">http:&#x2F;&#x2F;no-color.org</a>
评论 #17244313 未加载
评论 #17246846 未加载
评论 #17246439 未加载
评论 #17244157 未加载
评论 #17243507 未加载
评论 #17246416 未加载
评论 #17244429 未加载
评论 #17245308 未加载
评论 #17252481 未加载
评论 #17289077 未加载
JackCh将近 7 年前
Is this speed competitive with tools like <i>the silver searcher</i> (`ag`) or is the focus here on color?
评论 #17244920 未加载
评论 #17243602 未加载
评论 #17244169 未加载
评论 #17261807 未加载
评论 #17243902 未加载
ereyes01将近 7 年前
Nice job! Language-specific coloring is really nice!<p>I&#x27;ll give it a try. I normally use a different Golang tool called sift as my grep replacement (which I love so far): <a href="https:&#x2F;&#x2F;github.com&#x2F;svent&#x2F;sift" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;svent&#x2F;sift</a><p>Sift&#x27;s goals seem to be mostly performance (it is super fast), but it would be nice to have some of these more sophisticated coloring features in there as well, as they are useful.
评论 #17245366 未加载
tex0将近 7 年前
Nice UI! Some time ago I wrote something similar, because I was missing some features in ripgrep (which is otherwise pretty awesome): <a href="https:&#x2F;&#x2F;github.com&#x2F;dominikschulz&#x2F;gg" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dominikschulz&#x2F;gg</a>
xab9将近 7 年前
I like it. I started something similar with node (I never aimed for performance) trying to go for high grep compatibility but with added extra colors and js regexp flavour.
megous将近 7 年前
GNU grep has support for colors.
评论 #17247158 未加载
teekert将近 7 年前
But... Can it elegantly suppress broken pipe errors?
评论 #17245362 未加载
grblovrflowerrr将近 7 年前
Really cool! But from the title I initially thought this was a grep tool for finding certain colors in your image data.
madmax96将近 7 年前
Useless use of cat candidate.
评论 #17244290 未加载
评论 #17243911 未加载
评论 #17243721 未加载
评论 #17243936 未加载