docker wrappers for commands tr & rev