Skip to content

Instantly share code, notes, and snippets.

@jugyo
Last active May 1, 2019 14:06
Show Gist options
  • Save jugyo/61dc05b814c88fff4e33d4fdf679ede3 to your computer and use it in GitHub Desktop.
Save jugyo/61dc05b814c88fff4e33d4fdf679ede3 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo $* | awk '{ gsub(/[^A-Za-z]+/, "-"); print tolower($0) }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment