- Docs: kernel-program truth, PLACEHOLDER_BASELINE, POSIX_DECLARED_PROFILE, env appendix (BARE_OS_SHELL_PIPEFAIL, BARE_OS_WASM_KERNEL), package-bare-os-booter - Booter: syscalls.json fd model, process_table exitStatusModel, shell pipeline exit status + kernel-runner script-error path, mirror mounts test + handbook - Seeder: corestore_snapshot proc alignment test; hyperswarm ^4.17.0; kernel mirror sync - Vault: vault_save audit after saveVaultToDrive; split bare-os-vault-rotation-audit.js - Contract: protomux/hyperswarm lock fixture + test; IPC stats ipcBackpressure test - Coreutils: XCU tests, bare-cron man seed, ACL/xattr metadata path test - Tooling: kernel-microbench + release-gate fixture doc; ADR 002 WASM compile hook - Changelog/ctx d.ts and dependency/lockfile updates as needed
50 lines
1005 B
JSON
50 lines
1005 B
JSON
{
|
|
"name": "sed",
|
|
"section": 1,
|
|
"title": "stream editor",
|
|
"synopsis": [
|
|
"sed [OPTION]... [OPERAND]..."
|
|
],
|
|
"description": "Stream editor with a subset of POSIX sed. Large engine is vendored in lib/sed-engine.js.",
|
|
"options": [],
|
|
"keywords": [
|
|
"sed",
|
|
"stream",
|
|
"edit",
|
|
"substitute"
|
|
],
|
|
"seeAlso": [
|
|
{
|
|
"name": "awk",
|
|
"section": 1
|
|
},
|
|
{
|
|
"name": "grep",
|
|
"section": 1
|
|
}
|
|
],
|
|
"bareOsNotes": "JavaScript implementation; edge cases differ from GNU sed.",
|
|
"examples": [
|
|
{
|
|
"caption": "substitute first per line",
|
|
"code": "sed 's/foo/bar/' file.txt"
|
|
},
|
|
{
|
|
"caption": "global per line",
|
|
"code": "sed 's/ //g' spaced.txt"
|
|
},
|
|
{
|
|
"caption": "in-place (if supported)",
|
|
"code": "sed -i.bak 's/^/# /' f.cfg"
|
|
},
|
|
{
|
|
"caption": "print line 5 only",
|
|
"code": "sed -n '5p' file"
|
|
},
|
|
{
|
|
"caption": "delete blank lines",
|
|
"code": "sed '/^$/d' file"
|
|
}
|
|
]
|
|
}
|