aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2025-11-18 23:38:15 +0200
committerDrNuget <drnuget@outlook.com>2025-11-18 23:38:15 +0200
commit25413c300d6bf604112d5d73d50c8ed307040d54 (patch)
tree0e4fa6845642a88a35310f9c755ff795917be01d
parent18dcd20ef93e2e1e138ffc1ac6056758e164c025 (diff)
downloadscripts-master.tar.gz
ROT cut first space from outputHEADmaster
-rwxr-xr-xscripts/rot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rot b/scripts/rot
index aae6ec8..636897c 100755
--- a/scripts/rot
+++ b/scripts/rot
@@ -36,7 +36,7 @@ BEGIN {
{
result="";
split($0, chars, "");
- for (i=1;i<=length($0);i++) {
+ for (i=2;i<=length($0);i++) {
if (chars[i] in cipher_map) {
result=result cipher_map[chars[i]];
}