Hacker News new | ask | show | jobs
by zx2c4 5291 days ago
Dear Sir,

You have committed an egregious atrocity: you parse XML with a regex.

Please read this classic post: http://goo.gl/wPtKX

Thank you, Internet

1 comments

I was counting on someone pointing me to that. Well aware of it and appreciate the reality check. I did this as a quick-and-dirty solution, I haven't tried parsing XML in shell, ever. Do you have suggestions?