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: Vi-pipe, edit and replay text changes in the middle of a shell pipeline

6 pointsby commotionfeveralmost 3 years ago

2 comments

nikvdpalmost 3 years ago
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 未加载
sargstuffalmost 3 years ago
Why vi-pipe instead of a combination of tee, &lt;insert editor of choice&gt;, and named pipe?
评论 #32257111 未加载