xselect.c
来自「HTML-XML-utils由一套小型C程序(过滤器)组成」· C语言 代码 · 共 34 行
C
34 行
/* * select -- extract elements matching a selector * * Assumes that class selectors (".foo") refer to an attribute called * "class". * * Assumes that ID selectors ("#foo") refer to an attribute called * "id". * * Options: * * -l language * * Sets the default language, in case the root element doesn't * have an xml: lang attribute. Example: -l en. Default: none. * * -s separator * * A string to print after each match. Accepts C-like escapes. * Example: -s '\n\n' to print an empty line after each match. * Default: empty string. * * -i * * Match case-insensitively. Useful for HTML and some other * SGML-based languages. * * -c * * Print content only. Without -c, the start and end tag of the * matched element are printed as well; with -c only the contents * of the matched element are printed. * * Copyright
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?