use -r instead of tr