sh, diff/patch, sort, printf, find, test, getfacl/setfacl/xattr), expanded /proc and metrics (process table, syscalls, replication, net, security posture, worker budget, swarm/replication hints), initd DAG supervision metadata and richer restart journal telemetry, synthetic process groups via IPC (assignProcessGroup/signalProcessGroup) mirrored into process_table, optional kernel.ext.d incremental hot reload (BARE_OS_KERNEL_EXT_D_HOT_RELOAD) with reload audit NDJSON, features proc for hyperblobs dedup and systemd subset documentation, vault threat model doc plus posture fields for AEAD, Pear enclave pointer, account rotation continuity, and Ed25519 consistency across boot manifest / extensions / replication. Adds or extends tests and keeps kernel/ and packages/bare-os-seeder/kernel/ in parity; guest init is bundled from kernel/lib/init/init-main.js via bundle-kernel-init.
21 lines
839 B
JSON
21 lines
839 B
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|