Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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]'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: