Y
Hacker News
new
|
ask
|
show
|
jobs
by
poke646
350 days 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]'