updates
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"section": 1,
|
||||
"title": "pattern matching utility",
|
||||
"synopsis": [
|
||||
"grep [-E|-F] [-i] [-v] [-n] [-c] [-l] [-q] [-s] [-H|-h] [-e pat] ... [-f file] ... [pattern] [file...]"
|
||||
"grep [-E|-F] [-i] [-v] [-w] [-n] [-c] [-l] [-q] [-s] [-H|-h] [-e pat] ... [-f file] ... [pattern] [file...]"
|
||||
],
|
||||
"description": "Searches input or files for lines matching a pattern. Uses JavaScript RegExp unless -F (fixed string). Not bit-identical to GNU grep.",
|
||||
"options": [
|
||||
@@ -23,6 +23,10 @@
|
||||
"flag": "-v",
|
||||
"meaning": "Invert match"
|
||||
},
|
||||
{
|
||||
"flag": "-w",
|
||||
"meaning": "Match whole words (regex: \\b…\\b; fixed: non-alphanumeric boundaries)"
|
||||
},
|
||||
{
|
||||
"flag": "-n",
|
||||
"meaning": "Prefix lines with line number"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"section": 1,
|
||||
"title": "display on-line manual pages",
|
||||
"synopsis": [
|
||||
"man [-k keyword] [-f name] [-l] [[section] name]",
|
||||
"man [-k keyword] [-f name] [-l] [-w] [[section] name]",
|
||||
"man reads /share/man/man.json on the system drive."
|
||||
],
|
||||
"description": "Displays manual pages from the merged JSON database. Section 1: /bin and git/shell pages. Section 7: handbook (man handbook) and developer guide (man devguide), merged at build from handbook/*.md and developer-guide/*.md.",
|
||||
@@ -19,6 +19,10 @@
|
||||
{
|
||||
"flag": "-l, --list",
|
||||
"meaning": "List pages grouped by category (/bin, git/shell, handbook, developer guide), then alphabetically"
|
||||
},
|
||||
{
|
||||
"flag": "-w, --where, --path",
|
||||
"meaning": "Print logical path to the manual database (/share/man/man.json)"
|
||||
}
|
||||
],
|
||||
"keywords": [
|
||||
@@ -33,7 +37,8 @@
|
||||
],
|
||||
"environment": [
|
||||
"MANWIDTH — wrap width (default 72, min 40)",
|
||||
"NO_COLOR — disable bold headings on TTY"
|
||||
"NO_COLOR — disable bold headings on TTY",
|
||||
"PAGER=bare-slice — insert section breaks in long pages (optional MAN_SLICE lines per chunk, default 24)"
|
||||
],
|
||||
"seeAlso": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user