Eric Blake <[EMAIL PROTECTED]> writes: > I'm wondering how many of the other coreutils that use this freopen trick are > affected,
Five more: head, tac, tail, tee, and tr. > and whether we should use a wrapper function rather than duplicating > all the logic. My kneejerk reaction is to duplicate the logic. Most likely we'll run into further problems like this, no? E.g., suppose stdout is open for both read and write, and we use "wb" on it? Won't we screw it up? (What a hassle.) _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils