Skip to content

bad double quote parsing (appears to be all commands) #144

@jhudsoncedaron

Description

@jhudsoncedaron

Behold:

D:\>"c:\Program Files\coreutils\bin\printf.exe" %s-%s-%s "a""a" "a""a" "a""a"
a"a aa aa--

If I run this through cygwin the expected output appears:

D:\>"c:\cygwin64\bin\printf.exe" %s-%s-%s "a""a" "a""a" "a""a"
a"a-a"a-a"a

So far I've tried this with printf, echo, and xargs but I think all commands are affected.

What I'm trying to do: find | xargs sed -i where the replacement string contains double quote characters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions