Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: my within brackets

by LanX (Saint)
on Oct 15, 2021 at 18:56 UTC ( [id://11137598]=note: print w/replies, xml ) Need Help??


in reply to Re^4: my within brackets
in thread my within brackets

I though about diff, but I'm mostly on Win and was too lazy to fire up the VM for that °...

But now I remembered gitbash ...

MINGW64 ~ $ diff -u \ > <( perl -Mstrict -Mwarnings -MO=Concise -e'my ($u, $v) = split + /,/, "U,V";' 2>&1 ) \ > <( perl -Mstrict -Mwarnings -MO=Concise -e'(my $u, my $v) = split + /,/, "U,V";' 2>&1 ) \ > && echo same same

thanks! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

°) and I firmly expected someone would do it for me anyway ;-)

Replies are listed 'Best First'.
Re^6: my within brackets
by ikegami (Patriarch) on Oct 15, 2021 at 21:08 UTC

    I purchased a license of Beyond Compare many years back. I've used it *a lot*

      I'm quite happy with kdiff3.

      I ignored till now that it has CLI, but I'm still too lazy to try translate your one liner with two sub-shells to CMD/BAT ° and kdiff3.

      gitbash does this job with little snippets just fine :)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

      °) if that's even possible

        When tried it, kdiff3 was decent, but a pale shadow of Beyond Compare. Does it even support editing?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found