abc ./redir.tests: /tmp/redir-test: cannot overwrite existing file abc def def ./redir.tests: $z: ambiguous redirect Point 1 Point 2 to a to b Point 3 to a to a to b to b Point 4 to c Point 5 this is redir1.sub this is redir2.sub read line1 "ab" read line2 "root" read line3 "cd" read line4 "daemon" from stdin: aa to stdout ./redir4.sub: $fd: ambiguous redirect ./redir4.sub: $fd: ambiguous redirect /tmp/err-and-out: to stdout to stderr /tmp/err-and-out: to stdout to stderr 0 -- 3 0 0 -- 4 0 ab cd ef gh ij kl 0 ab cd cd ./redir.tests: redir1.*: No such file or directory