Try running ri as follows:
ri --format=rdoc
AFAIK, the rdoc format is plain text, so you donβt have to filter out ANSI escape sequences.
You can probably get the βrealβ plain text by creating a shell script as follows:
ri --format=bs $@ | sed 's:.^H::g'
Where ^H is raw Ctrl-H (or some other backspace for you) then call this shell script instead of ri .
mu is too short
source share