Hacker News new | ask | show | jobs
by aidenn0 411 days ago
I fail to see how your string-formatting example is better than using bash's printf?
1 comments

You get a json-quoted (or json-quotable) string at the end. In bash, that's sometimes worth its weight in gold.