Skip to content

add an API to output an ed script #21

Open
@mvdan

Description

@mvdan

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.

Activity

mvdan

mvdan commented on Jan 7, 2020

@mvdan
ContributorAuthor

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.

josharian

josharian commented on Jan 7, 2020

@josharian
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @josharian@mvdan

        Issue actions

          add an API to output an ed script · Issue #21 · pkg/diff