{ "name": "sh", "section": 1, "title": "run a shell script (minimal)", "synopsis": ["sh SCRIPT"], "description": "Reads SCRIPT from the VFS, strips one leading `#!` line, then runs each non-empty, non-comment line via **`ctx.execLine`** (same pipeline and builtins as the interactive shell). Not a full POSIX `sh`; no `-c`, here-documents, or functions.", "options": [], "keywords": ["sh", "shebang", "bare-os", "coreutils"], "bareOsNotes": "Requires **`ctx.execLine`**. POSIX coverage index: **`/etc/bare-os/posix_utilities.json`** (utilities.sh). Symlink targets are followed when opening SCRIPT.", "examples": [ { "caption": "run a small script from $PWD", "code": "sh ./setup.sh" }, { "caption": "shebang line is ignored for execution", "code": "#!/bin/sh\necho hello" } ] }