Use 'rev' instead of 'tail -r'