Atc*_*old 4 shell scripting bash man
我试图在没有 Internet 连接的情况下(即通过man
页面)查找 shell 脚本信息。具体来说,我正在寻找如何传递和使用参数。
man bash
不包含我需要的所有内容(缺少shell 脚本)。
顺便说一下,在浏览 Internet 时,我发现我想阅读Bash 参考手册(是的,我已经在网上找到了我需要的所有内容)。
通过查看man
页面的末尾可以获得相同的结果,您可以在其中找到以下部分:
SEE ALSO
Bash Reference Manual, Brian Fox and Chet Ramey
The Gnu Readline Library, Brian Fox and Chet Ramey
The Gnu History Library, Brian Fox and Chet Ramey
Portable Operating System Interface (POSIX) Part 2: Shell and Utilities, IEEE
sh(1), ksh(1), csh(1)
emacs(1), vi(1)
readline(3)
Run Code Online (Sandbox Code Playgroud)
第一项,Bash Reference Manual
实际上是我想阅读的内容。我如何浏览该链接?我在哪里可以找到其余的文档?
看起来人们必须始终依赖网络来检索有意义的信息。请教我man
方法。一定有我遗漏的东西。
在 debian 系统上,Bash Reference Manual
是在bash-doc
包中。它可能类似地打包在其他发行版中。
在The Gnu Readline Library
和The Gnu History Library
手册中都readline-doc
包。
您可以使用 阅读它们info
,但 IMOinfo
本身非常糟糕,几乎无法使用,而且用户界面糟糕透顶——这pinfo
是一个更好的选择:apt-get install pinfo
在基于 debian 的系统上。
例如pinfo bash
或pinfo history
info
导航以某种高深莫测的方式工作。
pinfo
以类似于文本模式网络浏览器的方式导航信息文档lynx
。除了其他好处外,前进和后退键实际上按预期工作。
该pinfo
项目页面,包括访问源代码,是在https://alioth.debian.org/projects/pinfo/
Portable Operating System Interface (POSIX) Part 2: Shell and Utilities
是可从http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6880751&filter%3DAND%28p_Publication_Number%3A6880749%29(日期为 1993 年)获得的待售 .PDF 文档- 但您也可以找到2007 年规范的 PDF 草案位于http://www.open-std.org/jtc1/sc22/open/n4217.pdf和可能许多其他地方。更新的版本也可能可用,这些只是我在谷歌上找到的第一个版本。