quote3.tests 414 B

123456789101112131415161718192021
  1. empty=''
  2. echo 'Testing: in ""'
  3. for a in ""; do echo ".$a."; done
  4. echo 'Testing: in '"''"
  5. for a in ''; do echo ".$a."; done
  6. echo 'Testing: in $empty'
  7. for a in $empty; do echo ".$a."; done
  8. echo 'Testing: in $empty""'
  9. for a in $empty""; do echo ".$a."; done
  10. echo 'Testing: in $empty'"''"
  11. for a in $empty''; do echo ".$a."; done
  12. echo 'Testing: in "$empty"'
  13. for a in "$empty"; do echo ".$a."; done
  14. echo Finished