This has been broken since cat's own err() function was sloppily replaced by the library functions warn() and err().