open INPUT from some_script; read input if some_condition open >&INPUT from some_other_script do_something