Files
bare-operating-system/packages/bare-os-coreutils/man/pages/sed.json
T
Raven Scott 92384990c5 feat(booter): POSIX/P2P roadmap — syscalls v4, mirror VFS, seeder snapshot hints
- Bump ctx API to 1.31.0; extend /proc/bare_os/syscalls.json schema 4 (fdModel, signalModel)
- Add /mirror/aux* routing for auxiliary Hyperdrives; optional BLAKE2b-keyed /bin cache (BARE_OS_VFS_BIN_CACHE_BLAKE2B)
- Wire seeder snapshotHintsJson from BARE_OS_SEED_* env; add seeder unit tests
- Shell: trap -p; docs for jobs/bg/trap; sync schemas, examples, compatibility matrix, handbook ch.9
- Coreutils: Issue 7 man option rows for cp/mv/ln/find/grep/sed/awk/tar/test/true; xcu-issue7-sweep tests
- Docs: env appendix, vault-threat-model, node-vs-bare-host-matrix, test:bare, CHANGELOG 1.31.0
2026-04-04 22:00:01 -04:00

54 lines
1.2 KiB
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": [
{ "flag": "-n", "meaning": "[Issue 7 sed] Suppress default print when script uses p selectively." },
{ "flag": "-e script", "meaning": "[Issue 7 sed] Append edit script." },
{ "flag": "-f file", "meaning": "[Issue 7 sed] Read script from file." }
],
"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"
}
]
}