Files
.profile/untitled_script.sh
2026-05-24 20:13:56 +03:00

12 lines
190 B
Bash

#!/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