1) pipes have their own dup2 control 2) a filtering in input to change all joined | is also provided
Interactive and batch mode bare implementation