3
0

alias_brace.tests 204 B

12345678910111213141516
  1. # Note: bash would need:
  2. #shopt -s expand_aliases
  3. # to enable aliases in non-interactive mode
  4. alias BEGIN={ END=}
  5. BEGIN
  6. cat <<- EOF > /dev/null
  7. $(:)
  8. EOF
  9. END
  10. : <<- EOF &&
  11. $(:)
  12. EOF
  13. BEGIN
  14. echo Ok
  15. END