diff icon indicating copy to clipboard operation
diff copied to clipboard

add an API to output an ed script

Open mvdan opened this issue 5 years ago • 2 comments

I used them for a project long ago, as a way to easily have portable and readable "edit scripts" to go from plaintext file A to B. You can see it in action via diff --ed.

This is a kind of diff that's unlike the others, since it's not really meant for humans. I still think it belongs here, though.

mvdan avatar Jan 07 '20 07:01 mvdan

I should clarify that this is a "wish list" item. I don't have a need for this right now, nor do I think it's high priority.

mvdan avatar Jan 07 '20 07:01 mvdan

From a quick glance, should be pretty straightforward. For a rainy afternoon sometime.

josharian avatar Jan 07 '20 21:01 josharian