textual: harmonize some loop-device error messages

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
textual: fix several typos and angular brackets in messages

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
docs: normalize the formatting of man pages for nsenter and unshare

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
docs: slightly correct the man page of column

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
lib: remove unused code

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
lscpu: add max MHz value to make cpu governor effects more visible

The existing 'CPU MHz' is usually dynamic value, which CPU governor
changes up on needs of CPU demand.  Assuming lscpu is used to gather
information to a hardware inventory the dynamic value is misleading.  For
inventing the maximum MHz value is more sensible.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
docs: add lscpu max mhz to manual and bash completion

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
rev: stop adding new line at the end when input does not have it

When the rev(1) is executed twice outcome is expected to be exactly what
it was originally.  That includes not adding new line at the end of the
output.  The oneliner below demonstrates earlier issue.

$ printf "abc\n123" | rev | rev

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
rev: simplify new line detection and impossible test

The new line detection is earlier using only '\n' so there should not be
need to search for '\r' later.

The detection whether allocated address is pointing to null seems to be
unnecessary.  Assuming xmalloc() returned valid address space the address
should never be 0.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
rev: reduce stream checking when closing read-only file descriptor

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
cal: fix few type mismatches

Sloppiness from commit e44fe4712140774b677de466affc31e0581ee335.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>