Shell scripts/zh: Difference between revisions

Ardenet (talk | contribs)
Created page with "某些环境(例如基于 BusyBox 的 OpenWRT)仅提供“受限” Shell(使用 <code>sh</code> 而非 <code>bash</code>)"
Ardenet (talk | contribs)
Created page with "要跟踪命令和行号,可以使用"
Tags: Mobile edit Mobile web edit
Line 146: Line 146:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
要跟踪命令和行号,可以使用
To trace commands and line numbers, one can use
</div>


{{file|test-trace.nix|nix|3=
{{file|test-trace.nix|nix|3=
Line 174: Line 172:
</syntaxHighlight>
</syntaxHighlight>


<div lang="en" dir="ltr" class="mw-content-ltr">
== POSIX shell ==
== POSIX shell ==
</div>


某些环境(例如基于 BusyBox 的 OpenWRT)仅提供“受限” Shell(使用 <code>sh</code> 而非 <code>bash</code>)
某些环境(例如基于 BusyBox 的 OpenWRT)仅提供“受限” Shell(使用 <code>sh</code> 而非 <code>bash</code>)