User Tools

Site Tools


sed:delete:delete_nroff_overstrikes_char_backspace_from_man_pages

SED - Delete - Delete nroff overstrikes (char, backspace) from man pages

sed "s/.`echo \\\b`//g"    # double quotes required for Unix environment
sed 's/.^H//g'             # in bash/tcsh, press Ctrl-V and then Ctrl-H
sed 's/.\x08//g'           # hex expression for sed v1.5

NOTE: The 'echo' command may need an -e switch if you use Unix System V or bash shell.

sed/delete/delete_nroff_overstrikes_char_backspace_from_man_pages.txt · Last modified: 2020/08/17 10:00 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki