我有一个文件,它有多行,结构如下:
Text line1: xxxx
Text line2: x
OS: "MacOS"
NotOS: "Linux"
Text line3:
ID: 12345
或
Text line1: xxxx
Text line2: x
OS: "MacOS|Linux|Red Hat|Windows|Ubuntu|CentOS|Fedora"
NotOS: "HP-UX"
Text line3:
ID: 12345
我希望获得在OS字段中有"CentOS“,但在NotOS字段中没有"Lin
我在报告字段中有这样一组字符串:
cpe:/o:redhat:enterprise_linux:7
cpe:/o:centos:centos:7
我需要提取单词在最后一个冒号"“之后
ie.cpe:/o:centos:centos:7 -> should transform as centos:7
cpe:/o:redhat:enterprise_linux:7 -> should transform as enterprise_linux:7
中有一些正则表达式
REGEXP_EXTRACT(string,[^\:]+$) -> which gives me
hp 列表下载:
» Red Hat Enterprise Linux 5 Server (x86)
» Red Hat Enterprise Linux 5 Server (x86-64)
» Red Hat Enterprise Linux 6 Server (x86)
» Red Hat Enterprise Linux 6 Server (x86-64)
但仅限于
» CentOS 5
因为,据我所知,CentOS基本上是重新打包的RHEL,难道我不能在hp 380 G5上运行CentOS 6.4 x86_64,包括运行用于EL 6的管理rpms吗?(我遇到过一些关