lhunath 1325675238 learn x>y: make fd x write to file y. x>&y: make fd x write to where fd y is writing now. If x is omitted, use 1. If fd y is -, close x. Read from left to right. Exercise: exec 3>&1 1>mylog; echo moo; exec 1>&3 3>&- lhunath 1325675266 forget lhunath 1325675276 learn x>y: make fd x write to file y. x>&y: make fd x write to where fd y is writing now. If x is omitted, use 1. If fd y is -, close x. Read from left to right. Exercise: exec 3>&1 >mylog; echo moo; exec 1>&3 3>&- lhunath 1339156536 forget lhunath 1339156739 learn x>y: make fd x write to file y. x>&y: make fd x write to where fd y is writing now. If x is omitted, use 1. If fd y is -, close x. Use to < read instead of write. Exercise: exec 3>&1 >mylog; echo moo; exec 1>&3 3>&- lhunath 1340358862 forget lhunath 1340358884 learn x>y: make fd x write to file y. x>&y: make fd x write to where fd y is writing now. If x is omitted, use 1. If fd y is -, close x. Use < to read instead of write. Exercise: exec 3>&1 >mylog; echo moo; exec 1>&3 3>&- lhunath 1345728551 forget lhunath 1345728682 learn x>y: make FD x write to file y. x>&y: make FD x write to where FD y is writing now. If x is omitted, use 1. If y is -, close x. Use < to read instead of write. Exercise: exec 3>&1 >mylog; echo moo; exec 1>&3 3>&-