Re: man command question

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

 



On 09Mar2014 21:41, g <geleem@xxxxxxxxxxxxx> wrote:
> being that no one asked, i will.
> why would someone send a man page to a null device?
> to a printer, file, another terminal, yes. /dev/null, never.

The same reason one might send anything to /dev/null; to execise
the command without keeping the output. Test frameworks, etc etc.

> because intent of 'man' is not to send output to /dev/null,
> why should it written to do so?

It should have a sensible default when it doesn't know the output
width by inspection. For example, when piped to something else.

> such is not intent of 'man', therefore, i would not consider
> doing such as a bug. other than person doing so. ;-)

The only way to support a default width but still have it break on
/dev/null (as you seem to want it to) is to special case /dev/null
and detect it specificly, and perform badly in that special occasion.

That seems insane.
-- 
Cameron Simpson <cs@xxxxxxxxxx>

Your modesty is typically human, so I will overlook it. - a Klingon
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux