Re: some man pages have bugs, can't be grep'd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 16, 2019 at 5:13 PM Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
>
> I've been seeing this since clean installing Fedora 30. I don't recall
> ever seeing it before, including on a Fedora 29 -> Fedora 30 upgraded
> system (is now the clean installed system).
>
> [chris@flap ~]$ man rpm | grep -C 10 rpmverbosity
> <standard input>:176: warning [p 3, 0.8i]: cannot adjust line
> [chris@flap mantest]$ man rpm >rpm.stdout 2>rpm.stderr
> [chris@flap mantest]$ ll
> -rw-rw-r--. 1 chris chris    62 Jul 16 14:24 rpm.stderr
> -rw-rw-r--. 1 chris chris 28498 Jul 16 14:24 rpm.stdout
>
> Is this a bug that should be reported against rpm or something else?
> I'm certain I've seen it in other man pages, but offhand I can't find
> another example.

The man output has formatting commands. Use "man -t rpm | grep -C 10
rpmverbosity" verbosity to avoid feeding those formatting characters
to the grep command.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux