shell-strip-ctrl-m

shell-strip-ctrl-m is an alias for `comint-strip-ctrl-m' in `comint.el'.


(shell-strip-ctrl-m &optional STRING)

Strip trailing `^M' characters from the current output group.
This function could be on `comint-output-filter-functions' or bound to a key.