Hacker News new | ask | show | jobs
by bikezen 500 days ago
> "You're tasked with parsing a log file to return the IP addresses that appear at least 10 times, how would you approach this?"

Out of curiosity, did anyone just reply with `awk ... | sort | count ... | awk`? Its certainly what I would do rather than writing out an actual script.

1 comments

Nobody has yet, but if they did I'd probably be ecstatic! We specifically tell candidates they can use any language they want. A combination of awk/sort/sed/count/etc is just as effective as a Python script!