Function report |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-28 11:42:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:display help for the use of cmd | grep pattern
Proto:static int kdb_grep_help(int argc, const char **argv)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | argc | |
| const char ** | argv |
| 2631 | kdb_printf("Usage of cmd args | grep pattern:\n") |
| 2632 | kdb_printf(" Any command's output may be filtered through an ") |
| 2633 | kdb_printf("emulated 'pipe'.\n") |
| 2634 | kdb_printf(" 'grep' is just a key word.\n") |
| 2635 | kdb_printf(" The pattern may include a very limited set of metacharacters:\n") |
| 2637 | kdb_printf(" pattern or ^pattern or pattern$ or ^pattern$\n") |
| 2638 | kdb_printf(" And if there are spaces in the pattern, you may quote it:\n") |
| 2640 | kdb_printf(" \"pat tern\" or \"^pat tern\" or \"pat tern$\" or \"^pat tern$\"\n") |
| 2642 | Return 0 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |