30 lines
618 B
JSON
30 lines
618 B
JSON
{
|
|
"name": "head",
|
|
"section": 1,
|
|
"title": "copy the first part of files",
|
|
"synopsis": [
|
|
"head [OPTION]... [OPERAND]..."
|
|
],
|
|
"description": "Bare OS implementation of copy the first part of files. Full behavior is defined in packages/bare-os-coreutils/src/head.js.",
|
|
"options": [],
|
|
"keywords": [
|
|
"head",
|
|
"bare-os",
|
|
"coreutils"
|
|
],
|
|
"examples": [
|
|
{
|
|
"caption": "first 10 lines",
|
|
"code": "head /etc/os-release"
|
|
},
|
|
{
|
|
"caption": "first N",
|
|
"code": "head -n 50 big.log"
|
|
},
|
|
{
|
|
"caption": "stdin",
|
|
"code": "cat long.txt | head"
|
|
}
|
|
]
|
|
}
|