skip \cat and use shell redirections directly to speed up, update #2634