Linux sid string substitution command

sed -i 's/PCI: 1/PCI: 4.1,8.1/g' ./*/*.yaml
sed -i 's/GDPR: 1/GDPR: 24,25,28,33,34,35/g' ./*/*.yaml
sed -i 's/NIST: 1/NIST: 4.3,4.3.3,4.3.1,4.3.2,4.4,4.4.3,4.5/g' ./*/*.yaml
sed -i 's/HIPPA: 1/HIPPA: 164.308,164.312/g' ./*/*.yaml

Guess you like

Origin blog.csdn.net/SHELLCODE_8BIT/article/details/131979412