Created
December 10, 2022 16:40
-
-
Save trauber/6bc56aac52366a70e8104db5d1f3f161 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sluggify One Liner | |
``` | |
echo "Abcd ; 200-2" | awk '{gsub(/[^[:alnum:]]/,"-");gsub(/-+/,"-");print}'| tr [:upper:] [:lower:] | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment