#!/bin/sh
# snake: convert_a_string_into_snake_case

echo "$1" | tr ' ' '_' | tr '[:upper:]' '[:lower:]' | sed 's/[^a-zA-Z0-9_]//g'