Skip to content

Commit

Permalink
website: add search data. #105 b034d79
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 17, 2022
1 parent a804a41 commit f412635
Show file tree
Hide file tree
Showing 97 changed files with 21,288 additions and 96 deletions.
21,192 changes: 21,192 additions & 0 deletions data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/ansible.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<p>此快速参考备忘单提供了使用 <a href="https://ansible.com">Ansible</a> 的各种方法。</p>
</div></header><div class="menu-tocs"><div class="menu-btn"><svg aria-hidden="true" fill="currentColor" height="1em" width="1em" viewBox="0 0 16 16" version="1.1" data-view-component="true">
<path fill-rule="evenodd" d="M2 4a1 1 0 100-2 1 1 0 000 2zm3.75-1.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zM3 8a1 1 0 11-2 0 1 1 0 012 0zm-1 6a1 1 0 100-2 1 1 0 000 2z"></path>
</svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" href="#入门">入门</a><a aria-hidden="true" class="leve3 tocs-link" href="#安装">安装</a><a aria-hidden="true" class="leve3 tocs-link" href="#配置位置">配置位置</a><a aria-hidden="true" class="leve3 tocs-link" href="#inventory文件hosts列表">Inventory文件(hosts列表)</a><a aria-hidden="true" class="leve4 tocs-link" href="#静态inventory">静态Inventory</a><a aria-hidden="true" class="leve3 tocs-link" href="#inventory-主机组使用多个ip和域名">Inventory 主机组使用多个IP和域名</a><a aria-hidden="true" class="leve3 tocs-link" href="#inventory-主机组使用子主机组">Inventory 主机组使用子主机组</a><a aria-hidden="true" class="leve3 tocs-link" href="#给多台主机设置变量">给多台主机设置变量</a><a aria-hidden="true" class="leve2 tocs-link" href="#命令行ad-hoc">命令行(ad-hoc)</a><a aria-hidden="true" class="leve3 tocs-link" href="#ansible">ansible</a><a aria-hidden="true" class="leve3 tocs-link" href="#ansible-命令帮助">Ansible 命令帮助</a><a aria-hidden="true" class="leve3 tocs-link" href="#ansible-galaxy-工具">Ansible Galaxy 工具</a><a aria-hidden="true" class="leve3 tocs-link" href="#ansible-doc">ansible-doc</a><a aria-hidden="true" class="leve3 tocs-link" href="#ansible-vault">ansible-vault</a><a aria-hidden="true" class="leve3 tocs-link" href="#ansible-playbook">ansible-playbook</a><a aria-hidden="true" class="leve3 tocs-link" href="#ansible-pull">ansible-pull</a><a aria-hidden="true" class="leve2 tocs-link" href="#另见">另见</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="入门"><a aria-hidden="true" tabindex="-1" href="#入门"><span class="icon icon-link"></span></a>入门</h2><div class="wrap-body">
</svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#入门">入门</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#安装">安装</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#配置位置">配置位置</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#inventory文件hosts列表">Inventory文件(hosts列表)</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#静态inventory">静态Inventory</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#inventory-主机组使用多个ip和域名">Inventory 主机组使用多个IP和域名</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#inventory-主机组使用子主机组">Inventory 主机组使用子主机组</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#给多台主机设置变量">给多台主机设置变量</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#命令行ad-hoc">命令行(ad-hoc)</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#ansible">ansible</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#ansible-命令帮助">Ansible 命令帮助</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#ansible-galaxy-工具">Ansible Galaxy 工具</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#ansible-doc">ansible-doc</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#ansible-vault">ansible-vault</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#ansible-playbook">ansible-playbook</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#ansible-pull">ansible-pull</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#另见">另见</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="入门"><a aria-hidden="true" tabindex="-1" href="#入门"><span class="icon icon-link"></span></a>入门</h2><div class="wrap-body">
</div></div><div class="h2wrap-body"><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="安装"><a aria-hidden="true" tabindex="-1" href="#安装"><span class="icon icon-link"></span></a>安装</h3><div class="wrap-body">


Expand Down
2 changes: 1 addition & 1 deletion docs/awk.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<p>这是 <a href="https://www.gnu.org/software/gawk/manual/gawk.html">GNU awk</a> 的单页快速参考备忘单,其中涵盖了常用的 <code>awk</code> 表达式和命令。</p>
</div></header><div class="menu-tocs"><div class="menu-btn"><svg aria-hidden="true" fill="currentColor" height="1em" width="1em" viewBox="0 0 16 16" version="1.1" data-view-component="true">
<path fill-rule="evenodd" d="M2 4a1 1 0 100-2 1 1 0 000 2zm3.75-1.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zm0 5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5h-8.5zM3 8a1 1 0 11-2 0 1 1 0 012 0zm-1 6a1 1 0 100-2 1 1 0 000 2z"></path>
</svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" href="#入门">入门</a><a aria-hidden="true" class="leve3 tocs-link" href="#试试">试试</a><a aria-hidden="true" class="leve3 tocs-link" href="#awk-程序">Awk 程序</a><a aria-hidden="true" class="leve4 tocs-link" href="#示例">示例</a><a aria-hidden="true" class="leve3 tocs-link" href="#变量">变量</a><a aria-hidden="true" class="leve3 tocs-link" href="#awk-程序示例">Awk 程序示例</a><a aria-hidden="true" class="leve3 tocs-link" href="#条件">条件</a><a aria-hidden="true" class="leve3 tocs-link" href="#生成-1000-个空格">生成 1000 个空格</a><a aria-hidden="true" class="leve3 tocs-link" href="#数组-arrays">数组 Arrays</a><a aria-hidden="true" class="leve3 tocs-link" href="#函数-functions">函数 Functions</a><a aria-hidden="true" class="leve2 tocs-link" href="#awk-变量">Awk 变量</a><a aria-hidden="true" class="leve3 tocs-link" href="#内置变量">内置变量</a><a aria-hidden="true" class="leve3 tocs-link" href="#表达式">表达式</a><a aria-hidden="true" class="leve3 tocs-link" href="#示例-1">示例</a><a aria-hidden="true" class="leve3 tocs-link" href="#仅限-gnu-awk">仅限 GNU awk</a><a aria-hidden="true" class="leve3 tocs-link" href="#环境变量">环境变量</a><a aria-hidden="true" class="leve3 tocs-link" href="#定义变量">定义变量</a><a aria-hidden="true" class="leve4 tocs-link" href="#使用-shell-变量">使用 shell 变量</a><a aria-hidden="true" class="leve2 tocs-link" href="#awk-运算符">Awk 运算符</a><a aria-hidden="true" class="leve3 tocs-link" href="#运算符">运算符</a><a aria-hidden="true" class="leve4 tocs-link" href="#正则表达式">正则表达式</a><a aria-hidden="true" class="leve4 tocs-link" href="#更多条件">更多条件</a><a aria-hidden="true" class="leve3 tocs-link" href="#运算符-1">运算符</a><a aria-hidden="true" class="leve4 tocs-link" href="#算术运算">算术运算</a><a aria-hidden="true" class="leve4 tocs-link" href="#速记作业">速记作业</a><a aria-hidden="true" class="leve4 tocs-link" href="#比较运算符">比较运算符</a><a aria-hidden="true" class="leve3 tocs-link" href="#示例-2">示例</a><a aria-hidden="true" class="leve4 tocs-link" href="#不匹配">不匹配</a><a aria-hidden="true" class="leve4 tocs-link" href="#如果在数组中">如果在数组中</a><a aria-hidden="true" class="leve2 tocs-link" href="#awk-函数">Awk 函数</a><a aria-hidden="true" class="leve3 tocs-link" href="#常用功能">常用功能</a><a aria-hidden="true" class="leve3 tocs-link" href="#用户定义函数">用户定义函数</a><a aria-hidden="true" class="leve2 tocs-link" href="#awk-数组">Awk 数组</a><a aria-hidden="true" class="leve3 tocs-link" href="#带索引的数组">带索引的数组</a><a aria-hidden="true" class="leve3 tocs-link" href="#带键的数组">带键的数组</a><a aria-hidden="true" class="leve3 tocs-link" href="#带拆分的数组">带拆分的数组</a><a aria-hidden="true" class="leve3 tocs-link" href="#带有排序的数组">带有排序的数组</a><a aria-hidden="true" class="leve3 tocs-link" href="#多维">多维</a><a aria-hidden="true" class="leve3 tocs-link" href="#多维迭代">多维迭代</a><a aria-hidden="true" class="leve2 tocs-link" href="#awk-条件">Awk 条件</a><a aria-hidden="true" class="leve3 tocs-link" href="#if-else-语句">if-else 语句</a><a aria-hidden="true" class="leve4 tocs-link" href="#三元运算符">三元运算符</a><a aria-hidden="true" class="leve3 tocs-link" href="#存在">存在</a><a aria-hidden="true" class="leve4 tocs-link" href="#不存在">不存在</a><a aria-hidden="true" class="leve3 tocs-link" href="#switch">switch</a><a aria-hidden="true" class="leve2 tocs-link" href="#awk-循环">Awk 循环</a><a aria-hidden="true" class="leve3 tocs-link" href="#fori">for...i</a><a aria-hidden="true" class="leve4 tocs-link" href="#1-到-100-之间的-2-的幂">1 到 100 之间的 2 的幂</a><a aria-hidden="true" class="leve3 tocs-link" href="#forin">for...in</a><a aria-hidden="true" class="leve4 tocs-link" href="#arguments">Arguments</a><a aria-hidden="true" class="leve3 tocs-link" href="#示例-3">示例</a><a aria-hidden="true" class="leve4 tocs-link" href="#反向记录">反向记录</a><a aria-hidden="true" class="leve4 tocs-link" href="#反向字段">反向字段</a><a aria-hidden="true" class="leve4 tocs-link" href="#按记录求和">按记录求和</a><a aria-hidden="true" class="leve4 tocs-link" href="#总结整个文件">总结整个文件</a><a aria-hidden="true" class="leve3 tocs-link" href="#while">while</a><a aria-hidden="true" class="leve4 tocs-link" href="#dowhile">do...while</a><a aria-hidden="true" class="leve3 tocs-link" href="#break">Break</a><a aria-hidden="true" class="leve3 tocs-link" href="#continue">Continue</a><a aria-hidden="true" class="leve2 tocs-link" href="#awk-格式化打印">Awk 格式化打印</a><a aria-hidden="true" class="leve3 tocs-link" href="#用法">用法</a><a aria-hidden="true" class="leve4 tocs-link" href="#右对齐">右对齐</a><a aria-hidden="true" class="leve4 tocs-link" href="#左对齐">左对齐</a><a aria-hidden="true" class="leve3 tocs-link" href="#通用说明符">通用说明符</a><a aria-hidden="true" class="leve3 tocs-link" href="#space-空间">Space 空间</a><a aria-hidden="true" class="leve3 tocs-link" href="#header-标题头">Header 标题头</a><a aria-hidden="true" class="leve2 tocs-link" href="#各种各样的">各种各样的</a><a aria-hidden="true" class="leve3 tocs-link" href="#正则表达式元字符">正则表达式元字符</a><a aria-hidden="true" class="leve3 tocs-link" href="#转义序列">转义序列</a><a aria-hidden="true" class="leve3 tocs-link" href="#运行脚本">运行脚本</a><a aria-hidden="true" class="leve2 tocs-link" href="#另见">另见</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="入门"><a aria-hidden="true" tabindex="-1" href="#入门"><span class="icon icon-link"></span></a>入门</h2><div class="wrap-body">
</svg></div><div class="menu-modal"><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#入门">入门</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#试试">试试</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#awk-程序">Awk 程序</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#示例">示例</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#变量">变量</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#awk-程序示例">Awk 程序示例</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#条件">条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#生成-1000-个空格">生成 1000 个空格</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#数组-arrays">数组 Arrays</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#函数-functions">函数 Functions</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#awk-变量">Awk 变量</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#内置变量">内置变量</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#表达式">表达式</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#示例-1">示例</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#仅限-gnu-awk">仅限 GNU awk</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#环境变量">环境变量</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#定义变量">定义变量</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#使用-shell-变量">使用 shell 变量</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#awk-运算符">Awk 运算符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#运算符">运算符</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#正则表达式">正则表达式</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#更多条件">更多条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#运算符-1">运算符</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#算术运算">算术运算</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#速记作业">速记作业</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#比较运算符">比较运算符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#示例-2">示例</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#不匹配">不匹配</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#如果在数组中">如果在数组中</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#awk-函数">Awk 函数</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#常用功能">常用功能</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#用户定义函数">用户定义函数</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#awk-数组">Awk 数组</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#带索引的数组">带索引的数组</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#带键的数组">带键的数组</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#带拆分的数组">带拆分的数组</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#带有排序的数组">带有排序的数组</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#多维">多维</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#多维迭代">多维迭代</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#awk-条件">Awk 条件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#if-else-语句">if-else 语句</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#三元运算符">三元运算符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#存在">存在</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#不存在">不存在</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#switch">switch</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#awk-循环">Awk 循环</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#fori">for...i</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#1-到-100-之间的-2-的幂">1 到 100 之间的 2 的幂</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#forin">for...in</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#arguments">Arguments</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#示例-3">示例</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#反向记录">反向记录</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#反向字段">反向字段</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#按记录求和">按记录求和</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#总结整个文件">总结整个文件</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#while">while</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#dowhile">do...while</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#break">Break</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#continue">Continue</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#awk-格式化打印">Awk 格式化打印</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#用法">用法</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#右对齐">右对齐</a><a aria-hidden="true" class="leve4 tocs-link" data-num="4" href="#左对齐">左对齐</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#通用说明符">通用说明符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#space-空间">Space 空间</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#header-标题头">Header 标题头</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#各种各样的">各种各样的</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#正则表达式元字符">正则表达式元字符</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#转义序列">转义序列</a><a aria-hidden="true" class="leve3 tocs-link" data-num="3" href="#运行脚本">运行脚本</a><a aria-hidden="true" class="leve2 tocs-link" data-num="2" href="#另见">另见</a></div></div><div class="h1wrap-body"><div class="wrap h2body-exist"><div class="wrap-header h2wrap"><h2 id="入门"><a aria-hidden="true" tabindex="-1" href="#入门"><span class="icon icon-link"></span></a>入门</h2><div class="wrap-body">
</div></div><div class="h2wrap-body"><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="试试"><a aria-hidden="true" tabindex="-1" href="#试试"><span class="icon icon-link"></span></a>试试</h3><div class="wrap-body">
<p>该程序可用于选择文件中的特定记录并对其执行操作</p>
<pre class="language-shell"><code class="language-shell code-highlight"><span class="code-line">$ <span class="token function">awk</span> -F: <span class="token string">'{print $1, $NF}'</span> /etc/passwd
Expand Down
Loading

0 comments on commit f412635

Please sign in to comment.