replace bashisms