Charles Bailey wrote: > We're in the middle of a shell pipe which has replaced stdin and > merge_file needs access to the human on it's stdin; hence the > </dev/tty. Strictly. [...] > Is there some way of juggling file descriptors in shell? You can duplicate important fds, like so: exec 3<&0 foo | ( bar baz quuz <&3 ) > I had a > quick play with this but suspect it's a bashism It's standard, luckily. See http://unix.org/2008edition/ Hope that helps. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html