Wilfred / difftastic

a structural diff that understands syntax 🟥🟩

Home Page:https://difftastic.wilfred.me.uk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strange bash diff

k4leg opened this issue · comments

image

File a:

#!/usr/bin/env bash
cat <<-EOF
    TEST TEST TEST
    (a \
     b \
     c \
     d)
    TEST TEST TEST
EOF

File b:

#!/usr/bin/env bash
cat <<-EOF
    ANOTHER TEXT
    TEXT
    QWERTY
    ( \
        a \
        b \
        c \
    )
    ANOTHER TEXT
EOF

Arch Linux with:

Difftastic 0.55.0 (7fda26d68 2024-01-30, built with rustc 1.75.0)

This might be the same issue as #632.