Its more likely that emacs dumb term (M-x term) has a problem with bash color codes. See the screenshots of same commands in ansi-term and emacs normal terminal
Its more likely that emacs dumb term (M-x term) has a problem with bash color codes. See the screenshots of same commands in ansi-term and emacs normal terminal