TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mandoc: becoming the main BSD manual toolbox [pdf]

25 点作者 fcambus将近 10 年前

2 条评论

kaolinite将近 10 年前
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 未加载
legulere将近 10 年前
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 未加载