Files
bare-operating-system/packages/bare-os-coreutils/man/pages/cmp.json
T
2026-04-04 00:01:11 -04:00

17 lines
500 B
JSON

{
"name": "cmp",
"section": 1,
"title": "compare two files",
"synopsis": ["cmp [-s] FILE1 FILE2"],
"description": "Byte-wise comparison of two regular files. Exit 0 if identical, 1 if different, 2 on error. -s suppresses output.",
"options": [
{
"flag": "-s, --silent",
"meaning": "No output; only set exit status"
}
],
"keywords": ["cmp", "bare-os", "coreutils"],
"examples": [{ "caption": "basic", "code": "cmp a.txt b.txt" }],
"listCategory": "coreutils"
}