squote_in_varexp.tests 136 B

12345678910
  1. x=yz
  2. echo ${x#'y'}
  3. echo "${x#'y'}"
  4. echo ${x#"y"}
  5. echo "${x#"y"}"
  6. echo ${x%'z'}
  7. echo "${x%'z'}"
  8. echo ${x%"z"}
  9. echo "${x%"z"}"
  10. echo Ok:$?