Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • That export still leaves a lowercase "m" at the end of every line and at the beginning of every blank line. Commented Dec 21, 2022 at 21:36
  • That sounds like an error in your terminal description. While "m" is used to end SGR escape sequences--see ECMA-48 or the xterm ctlseqs.ms document that Thomas Dickey maintains. Now that you mention it, I see an extra m at the end of every line. Try the command tput cr | od -c. Commented Dec 22, 2022 at 0:52
  • ?2004h[root@serv w]# tput cr | od -c 0000000 \r 0000001 ?2004h[root@serv w]# Commented Dec 22, 2022 at 16:51
  • Darrel, thanks. I don't see anything wrong with that value for the cr capability. Please try echo | nroff | od -c. Commented Dec 22, 2022 at 22:02