====== Cleaning ====== Developpers took years to develop a very NOT usefull feature: copy/paste with formatting ( by default !) To clean script where outputs is "hallucinating" like: # ./script.sh ./script.sh: line 1: !#/bin/bash: No such file or directory ===== Solution ===== sed -i '1s/^.*#//;s/\r$//' script.sh