redir_backquote1.tests 332 B

12345678910111213141516171819
  1. v=v
  2. v=`echo First >&2` `` >/cant/be/created
  3. echo One:$? v1:"[$v]"
  4. v=v
  5. v=`echo Second >&2` `true` >/cant/be/created
  6. echo One:$? v2:"[$v]"
  7. v=v
  8. v=`echo Third >&2` `true` 2>/dev/null
  9. echo Zero:$? v3:"[$v]"
  10. v=v
  11. v=`echo Fourth >&2` `false` 2>/dev/null
  12. echo Zero:$? v4:"[$v]"
  13. v=v
  14. v=`echo $?` `false` 2>/dev/null
  15. echo Zero:$? v5:"[$v]"