Wednesday, February 24, 2010

BSDTar I/O redirection bug with Mac OS X Snow Leopard


Mac OS X Snow Leopard changed the version of the "tar" utility. Instead of using GNU tar (, they start to use BSDTar which have a bug. BSDTar doesn't send the standard output to the STDOUT but it sends the STDOUT output to the STDERR channel.

Snow Leopard is using BSDTar because it is faster than GNUTar see

If you have scripts or programs that looks at STDERR, you must pay attention to this!

No comments:

Post a Comment