[Bug 16249] New: `less -R` docs are misleading

bugzilla at busybox.net bugzilla at busybox.net
Fri Nov 1 20:34:05 UTC 2024


https://bugs.busybox.net/show_bug.cgi?id=16249

            Bug ID: 16249
           Summary: `less -R` docs are misleading
           Product: Busybox
           Version: 1.36.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: busyboxbugs.20.ilyag at xoxy.net
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Running `busybox less` with no arguments results in:

```
BusyBox v1.36.1 (2024-05-21 13:38:37 UTC) multi-call binary.

Usage: less [-EFIMmNSRh~] [FILE]...

View FILE (or stdin) one screenful at a time

        -E      Quit once the end of a file is reached
        -F      Quit if entire file fits on first screen
        -I      Ignore case in all searches
        -M,-m   Display status line with line numbers
                and percentage through the file
        -N      Prefix line number to each line
        -S      Truncate long lines
        -R      Remove color escape codes in input
        -~      Suppress ~s displayed past EOF
```

I think the `-R` docs should say "Keep color escape codes in the input" or "Do
not sanitize color escape codes from the input".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list