Skip to content

Patch in-place #8

@electriquo

Description

@electriquo

Would be awesome if sol could patch a file in-place (like sed -i), or generate a diff that could be apply with patch.

Now I achieve it with:

sol -p -c -b -r -a -s -jqobj -jqarr -jqop comma -f testdata/args-in.sh | diff -u testdata/args-in.sh - | patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions