diff options
| -rwxr-xr-x | scripts/rot | 2 |
1 files changed, 2 insertions, 0 deletions
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, ","); |
