On Tue, Jul 19, 2011 at 11:32:13PM -0400, George Greer wrote: > My only regret about 3-arg open is it makes me re-add logic to handle "-" > for stdin/stdout and I'm sure a number of programs would greatly benefit > from having that work automatically. On the other hand, there are other cases where not being able to open an actual file named '-' would also be regrettable (consider the parallel in bash where someone has a file called '-rf', for instance). Logic like this belongs in a higher layer, in order to avoid surprises like this. -doyThread Previous | Thread Next