- Bump BARE_OS_CTX_API_VERSION to 1.41.0; align syscalls.example, compat matrix, POSIX dashboard, and doc-contract verifier - Stock hrpc: BARE_OS_HRPC_AUDIT chain rows; BARE_OS_HRPC_EMIT_UNLISTED for bare-os:hrpc-request; document seed/hrpc boundaries in KERNEL_CONTRACT + protocol CHANGELOG - VFS: bareOsEvictWarmReadPrefixes; BARE_OS_VFS_WARM_CACHE_PREFIX_INVALIDATE + replicationLive schema 2; warm cache stats schema 2; hyperblobs gate metrics + failed-write counter - maybeMergeBareFromDrive: BARE_OS_BARE_STDLIB_RESOLVE_CONCURRENCY (parallel reads, manifest order preserved) - Word-7 proc: pear_runtime_channel.json + vfs maps/tests; host env passthrough - Coreutils: export bareAwkRun for tests; build strips export in shipped awk; nextfile smoke test; getconf _SC_PAGESIZE test; man/hawk handbook tweaks - Security/docs: vault AEAD tamper test in test.identity.js; vault threat model + users-manual; scripts/verify-doc-contracts.mjs in pretest - Fix /proc readdir golden list order for new proc node; sync seeder kernel
46 lines
1.0 KiB
JSON
46 lines
1.0 KiB
JSON
{
|
||
"name": "awk",
|
||
"section": 1,
|
||
"title": "pattern scanning and processing language",
|
||
"synopsis": [
|
||
"awk [OPTION]... [OPERAND]..."
|
||
],
|
||
"description": "Pattern-directed scanning and processing. Engine in lib/awk-engine.js; Issue 7–inspired awk subset with documented bounds (includes next/nextfile control flow).",
|
||
"options": [],
|
||
"keywords": [
|
||
"awk",
|
||
"pattern",
|
||
"field",
|
||
"script"
|
||
],
|
||
"seeAlso": [
|
||
{
|
||
"name": "sed",
|
||
"section": 1
|
||
},
|
||
{
|
||
"name": "grep",
|
||
"section": 1
|
||
}
|
||
],
|
||
"bareOsNotes": "See handbook ch.9 for divergence from Issue 7.",
|
||
"examples": [
|
||
{
|
||
"caption": "print column 1",
|
||
"code": "awk '{print $1}' file.txt"
|
||
},
|
||
{
|
||
"caption": "field separator",
|
||
"code": "awk -F: '{print $1}' /etc/passwd"
|
||
},
|
||
{
|
||
"caption": "sum numbers in first column",
|
||
"code": "awk '{s+=$1} END{print s}' nums.txt"
|
||
},
|
||
{
|
||
"caption": "lines matching /re/",
|
||
"code": "awk '/error/{print NR\": \"$0}' log.txt"
|
||
}
|
||
]
|
||
}
|