add random stuffs

This commit is contained in:
tema5002
2026-05-24 20:13:56 +03:00
parent 7c792bf4b2
commit a8e03c5e3b
14 changed files with 931 additions and 1 deletions

11
untitled_script.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
while IFS= read -r line; do
row=""
for (( i=0; i<${#line}; i++ )); do
char="${line:i:1}"
row+="$char$char"
done
echo "$row"
echo "$row"
done