TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Mandoc: becoming the main BSD manual toolbox [pdf]

25 pointsby fcambusalmost 10 years ago

2 comments

kaolinitealmost 10 years ago
As the author of a fairly popular manual viewer for iOS[1], I was shocked when building the documents at the state of the tools and the availability of documentation for man. You would think that such a widely used command would have tonnes of information, formatting tools, parsing libraries, etc, plus articles and such - but surprisingly, there isn&#x27;t that much available. Of the libraries that I found, many of them only supported certain formats or had strange bugs.<p>So, any improvements made to man are very much welcomed! I do feel, however, that a new format might be the best way to go - possibly something based loosely on Markdown or (my personal preference) JSON. I feel that if we had a more structured manpage format, we could do a lot more with it. I was hoping in my app, for example, to be able to pull out commands (e.g. enter &quot;ls -lh&quot; and it&#x27;ll highlight the information for &quot;-l&quot; and &quot;-h&quot;.) It is possible (<a href="http:&#x2F;&#x2F;explainshell.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;explainshell.com&#x2F;</a> does it really nicely) but it would be far easier with a nicely structured format.<p>[1] <a href="https:&#x2F;&#x2F;itunes.apple.com&#x2F;us&#x2F;app&#x2F;manuals-linux-bsd-manpages&#x2F;id957578357?ls=1&amp;mt=8" rel="nofollow">https:&#x2F;&#x2F;itunes.apple.com&#x2F;us&#x2F;app&#x2F;manuals-linux-bsd-manpages&#x2F;i...</a>
评论 #9716410 未加载
legulerealmost 10 years ago
The memory-unsafety bugs they found through fuzzing is worrying for newly written code.<p>It really shows that you should try to avoid writing C code when possible.
评论 #9716579 未加载