Fixing Special Characters in Linux Scripts
The scripts required for this article can be directly copied in the format of this article: train_script.sh #!/bin/bash train=( " ____ " " _|____|____ " " | _________ | " " | _ _ | " " |_| |_| |_| " ) cols=$(tput cols) train_width=0 for line in "${train[@]}"; do (( ${#line} > train_width )) … Read more