Skip to content

how to pipe to wiggle? #29

@baleti

Description

@baleti

with patch I was able to cat temp.patch | patch, but not with wiggle:

temp > cat temp.patch | wiggle --patch --replace
wiggle: -p in merge mode requires exactly one file
temp > wiggle --patch --replace < temp.patch
wiggle: -p in merge mode requires exactly one file
temp > wiggle --patch --replace <(cat temp.patch)
wiggle: Cannot find files to patch: please specify --strip
wiggle: aborting
temp > cat temp.patch | wiggle --patch --replace -
wiggle: cannot open -

are there any workarounds? why it doesn't work?

with zsh you can use substitution like =(cat temp.patch), but not with bash

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