#2691 ipa-server-install -h |less prints a couple of junk characters on the first line
Closed: Fixed None Opened 11 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=817070 (Red Hat Enterprise Linux 6)

# ipa-server-install -h|less

ESC[?1034hUsage: ipa-server-install [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit

##### etc ...

The control characters are not printed into the terminal, only when one pipes
the output to less or redirects to a file (via '>' operator).

I tried this with a couple of tools from the coreutils package, virt-install
and a bunch of random other files, but it's only ipa-server-install that prints
this. So I blame IPA :)


ipa-server-2.1.3-9.el6.x86_64
ipa-server-2.2.0-11.el6.x86_64

It's not only installation, it happens with IPA commands too: try ipa ping|less

I blame the readline library.

Metadata Update from @mkosek:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 3.1 Stabilization

7 years ago

Login to comment on this ticket.

Metadata