Files
bare-operating-system/packages/bare-os-coreutils/man/pages/cat.json
T

30 lines
671 B
JSON

{
"name": "cat",
"section": 1,
"title": "concatenate and print files",
"synopsis": [
"cat [OPTION]... [OPERAND]..."
],
"description": "Bare OS implementation of concatenate and print files. Full behavior is defined in packages/bare-os-coreutils/src/cat.js.",
"options": [],
"keywords": [
"cat",
"bare-os",
"coreutils"
],
"examples": [
{
"caption": "stdout several files",
"code": "cat a.txt b.txt"
},
{
"caption": "number lines (use nl)",
"code": "cat -n file.txt # if supported; else nl file"
},
{
"caption": "here-string via echo pipe",
"code": "echo hello | cat"
}
]
}