manstrip [infile [outfile]]
The manstrip utility reads text, strips it of any ANSI color escape escape sequences and ^H control sequences, and writes it back out.
When infile is specified, the text is read from the specified file instead of the default standard input (for example, from redirected output or a pipe). When outfile is also specified, the stripped text is written to the specified file instead of the default standard output. The manstrip utility reads text from the specified file and writes that text to standard output. When you specify - for infile or outfile, manstrip reads input text from the standard input or writes the stripped text to the standard output.
This command can be used to produce standard text versions of the online text reference pages for printing.
To convert the sh reference page to a regular text file, use one of the following commands:
man 1 sh | manstrip > sh.txt manstrip $ROOTDIR/etc/cat1/sh.1.txt sh.txt
Possible exit status values are:
Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.