Files
bare-operating-system/packages/bare-os-coreutils/man/pages/sh.json
T
Raven Scott 4cdd1569af sh: add POSIX-like -c support and complete shell subset gaps
Implement sh -c COMMAND [NAME [ARG...]] in /bin/sh, add shell function
declarations/invocation support, expand export semantics (NAME, NAME=value, -p),
and make until/loop-control behavior available by default. Add focused shell
tests and update sh man-page option docs.
2026-04-26 15:28:29 -04:00

21 lines
621 B
JSON

{
"name": "sh",
"section": 1,
"title": "sh",
"synopsis": [
"sh [OPTION]... [OPERAND]..."
],
"description": "Runs shell commands via ctx.execLine (same language as the interactive booter shell). Supports command-string mode (`-c`) and script-file mode (`sh SCRIPT`). This is not the interactive REPL; see man bare-os-shell for session builtins, pipelines, and jobs.",
"options": [
{
"flag": "-c COMMAND [NAME [ARG ...]]",
"meaning": "Execute command string and set positional parameters for that command context."
}
],
"keywords": [
"sh",
"bare-os",
"coreutils"
]
}