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.
18 lines
834 B
JSON
18 lines
834 B
JSON
{
|
|
"name": "diff",
|
|
"section": 1,
|
|
"title": "compare two files",
|
|
"synopsis": ["diff [-q] [-s] [-u] FILE1 FILE2"],
|
|
"description": "Compares two text files on the VFS. **`-q`** prints nothing but sets exit status. **`-s`** reports when files are identical. **`-u`** emits a single unified hunk suitable for **`patch(1)`** (Bare OS subset).",
|
|
"options": [
|
|
{ "flag": "-q", "meaning": "Quiet; exit status only" },
|
|
{ "flag": "-s", "meaning": "Report when files are the same" },
|
|
{ "flag": "-u", "meaning": "Unified diff (one hunk)" }
|
|
],
|
|
"keywords": ["diff", "compare", "bare-os", "coreutils"],
|
|
"bareOsNotes": "Not full POSIX diff; binary files treated as UTF-8 text. See **`/etc/bare-os/posix_utilities.json`**.",
|
|
"examples": [
|
|
{ "caption": "unified diff for patching", "code": "diff -u a.txt b.txt" }
|
|
]
|
|
}
|