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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Vi-pipe, edit and replay text changes in the middle of a shell pipeline

6 点作者 commotionfever将近 3 年前

2 条评论

nikvdp将近 3 年前
This is pretty nifty and I could see it being quite handy for building one-off pipelines. The whole storing a diff of your change and reapplying it in the pipeline is super clever, though I&#x27;d have concerns about how the diff algo would handle different types of source input.<p>It was only after squinting for a bit and mentally parsing the example code that I had the a-ha moment and understood when&#x2F;why I&#x27;d want to use this though. Maybe a video or asciicinema&#x2F;terminalizer recording showing how it works in practice might help illustrate
评论 #32301456 未加载
sargstuff将近 3 年前
Why vi-pipe instead of a combination of tee, &lt;insert editor of choice&gt;, and named pipe?
评论 #32257111 未加载