Hacker News new | ask | show | jobs
by lukabratos 4513 days ago
That would be great!
1 comments

In spite of the fact that Ruby is indeed standard on Mac OS X, a simple shell script would have been clearly lighter. However, for proper JSON escaping of the snippet, you need a full set of replacing rules, which kind of kills the purpose. So I give up.