From 048a45fd11b8499eafff65c0a1dde9117f0dd892 Mon Sep 17 00:00:00 2001 From: DrNuget Date: Thu, 13 Nov 2025 06:06:19 +0200 Subject: ROT script make ROT13 default --- scripts/rot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/rot b/scripts/rot index 8deafb6..001cace 100755 --- a/scripts/rot +++ b/scripts/rot @@ -17,6 +17,8 @@ while [[ $# -gt 0 ]]; do esac done +[ -z "$ROT" ] && { ROT="13"; } + echo "$DATA" | awk -vrot=$ROT -valph=$(echo -n {A..Z} , {a..z} | tr -d ' ') ' BEGIN { split(alph, alph_arr, ","); -- cgit v1.2.3