Skip to main content
The 2024 Developer Survey results are live! See the results

Program less is working for that; at FreeBSD 8.4, manTo show CR as ^M in less says:

-u oruse --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-Uless -u or type --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further.-u once less is open.

If you use less -u, you can see CR at end of line as ^M.man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

Program less is working for that; at FreeBSD 8.4, man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-U or --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further..

If you use less -u, you can see CR at end of line as ^M.

To show CR as ^M in less use less -u or type -u once less is open.

man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.
signature is not needed
Source Link
Glorfindel
  • 22.4k
  • 13
  • 88
  • 116

Program less is working for that; at FreeBSD 8.4, man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-U or --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further..

If you use less -u, you can see CR at end of line as ^M.

P. Kucerak

Program less is working for that; at FreeBSD 8.4, man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-U or --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further..

If you use less -u, you can see CR at end of line as ^M.

P. Kucerak

Program less is working for that; at FreeBSD 8.4, man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-U or --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further..

If you use less -u, you can see CR at end of line as ^M.

added 62 characters in body
Source Link
P. Kucerak
  • 221
  • 2
  • 3

Program less is working for that; at FreeBSD 8.4, man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-U or --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further.. P

If you use less -u, you can see CR at end of line as ^M.

P. Kucerak

Program less is working for that; at FreeBSD 8.4, man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-U or --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further.. P. Kucerak

Program less is working for that; at FreeBSD 8.4, man less says:

-u or --underline-special

      Causes backspaces and carriage returns to be treated  as  print-
      able  characters;  that  is,  they are sent to the terminal when
      they appear in the input.

-U or --UNDERLINE-SPECIAL

      Causes backspaces, tabs and carriage returns to  be  treated  as
      control  characters;  that  is, they are handled as specified by
      the -r option.

And read further..

If you use less -u, you can see CR at end of line as ^M.

P. Kucerak

Source Link
P. Kucerak
  • 221
  • 2
  • 3
Loading