summaryrefslogtreecommitdiff
path: root/fmt/scream
blob: 4836167f2588eb054957f6bc098a0056234c34a5 (plain) (blame)
1
2
3
4
#!/bin/sh
# scream: CONVERT_A_STRING_INTO_SCREAM_CASE

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