1 #!/usr/bin/env bash 2 3 YES=true 4 5 while [ $YES ] 6 do 7 ls . | grep '^yes.sh$' | cut -d '.' -f 1 8 done