New answers tagged man
Found in man man there is environment variable MAN_KEEP_FORMATTING that need to be non empty, but it's not on that server.
The method is called overstriking or overtyping, and goes back to the days of typewriters. Byte 0x08 (aka \x08 or ^H) is the ASCII "Backspace" character. With typewriters and line-printers, it would move the cursor back one character, so the following character would be printed on paper at the same position as last one. Most commonly, either a character is ...
That's plain ASCII, nothing special about it. The \x08 is ASCII code for backspace so the first one does H-backspace-HE-backspace-E... (writes every character twice) and the second does H-backspace-_ and so on. It's what you would do on a typewriter to get bold and underline. On the other hand, to handle color, you output ASCII escape codes that are ...
You have to look at the manual for the specific shell you are using as the exact syntax for using these constructs can vary between shells. Most likely you are using bash, so you would do man bash. Although there are many cases where you might be using something else. For example many distros use a POSIX shell for boot scripts (eg Debian uses dash) or a ...
These are builtins of the shell you are using. So, man bash or equivalent for your shell. Particularly for bash, the man page is not too long and a very good read. Go through it and you will have a much better feeling what's possible and how stuff works (at least you know it exists for future reference).
Have a look at the man page for the shell you're using. For bash, the flow control statements are documented under 'SHELL GRAMMAR' -> 'Compound Commands'.
Can you be more specific about what you are trying to do? Do you want this for a specific piece of software or across the board for every update/upgrade? The way to do this for a particular piece of software is to check out the man page changes in the upstream source repository, unless the man page has been added by downstream. For example Debian ...
I was able to use the --html argument to man in order to open it in the browser defined by $BROWSER environment variable, so: BROWSER=google-chrome man ps --help I'm using Fedora. Not sure if this works for your distro, please test and report in comments.
Top 50 recent answers are included