0
binhex
8y

Once upon a time I was working with an engineer who loved sed and awk a bit too much. We had data stored in SharePoint that was retrievable via an RSS feed. Said engineer insisted on using curl to grab the feed and sed/awk to parse the HTML ...

I on the other hand suggested using libcurl (primarily for NTLM auth support) and parsing the RSS feed using libxml.

Which engineer do you think management decided supporting?

Hint: Reusability and maintainability were big requirements in this project.

Comments
  • 0
    For the record sed and awk are incredible text processing/transformation tools but writing an XML/HTML parser using regular expressions is bonkers. You're a proper mentalist if you do that.
Add Comment