Rainer Deyke wrote: > As mentioned in a comment on line 198 of 'tee.c', 'tee' overwrites > 'argv[argc]'. This is very bad style at best, and probably undefined behavior > on at least some platforms. Thanks for the report. It's well-defined behavior on any platform conforming to the C standard, so it should be quite safe. That being said, it's a bit faster to subtract 1 from a pointer than to do the equivalent of a memmove of an array, so it sounds a bit faster to do things the way you suggest. Cleaner, too. I installed the attached patch.