使用cut,grep提取xml元素
Hujiuxiang
・1 分钟阅读
提取xml元素
xml2 < file.xml | grep ^/path/to/element | cut -f2- -d=
man解析器的xml :)