Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
poke646
8 months ago
|
parent
|
context
|
favorite
| on:
Parsing JSON in Forty Lines of Awk
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: