From 4d0bd914e7c1ee65f4036e60149a7b891906a5d3 Mon Sep 17 00:00:00 2001 From: George Abbott Date: Tue, 31 Oct 2023 17:54:07 +0000 Subject: Commit all to date. --- fmt/scream | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 fmt/scream (limited to 'fmt/scream') diff --git a/fmt/scream b/fmt/scream new file mode 100755 index 0000000..4836167 --- /dev/null +++ b/fmt/scream @@ -0,0 +1,4 @@ +#!/bin/sh +# scream: CONVERT_A_STRING_INTO_SCREAM_CASE + +echo "$1" | tr ' ' '_' | tr '[:lower:]' '[:upper:]' | sed 's/[^a-zA-Z0-9_]//g' -- cgit v1.2.1