Author here, the bash version is too beautiful: compact and clean! I will include it in the article if you're ok!
Sure.
Re:Shell Scripting with Objective-C
by yesbabyyes on Sunday June 01, 2014 @03:56AM
(#7828498)
You could easily make a quick slugify with `tr`:
10a11
> name=$(echo $name | tr -cd '[:blank:][:alnum:]' | tr -s '[:blank:]' '-' | tr '[:upper:]' '[:lower:]')
- didn't replicate the slugify
- dependencies: imagemagick, jq
- here without spaces: http://pastebin.com/yBPwHwdk
- to get the same clarity as the python & Obj-C samples, I'd probably be approaching the same length.