6 ms·
In this case the Perl one-liner would be conceptually identical, the same length, but more performant (no calling out to rm): diff -rs a/ b/ | perl -ane '/i
by poke646 1y ago
In this case the Perl one-liner would be conceptually identical, the same length, but more performant (no calling out to rm):
diff -rs a/ b/ | perl -ane '/identical$/ && unlink $F[3]'