diff --git a/yq/1.sh b/yq/1.sh index 4d0b171..a06bf16 100644 --- a/yq/1.sh +++ b/yq/1.sh @@ -1,4 +1,5 @@ #!/bin/bash + ################################### ############ by Sthope ############ ################################### @@ -21,4 +22,4 @@ yq eval '(.[] | select(. == "*.*.*.*")) |= "127.0.0.1"' secrets.yaml > fake_ips. yq eval-all 'select(fi == 0) * select(filename == "fake_ips.yaml")' fake_pwds.yaml fake_ips.yaml > fake_secrets.yaml ### clean up.. -rm fake_pwds.yaml fake_ips.yaml +rm fake_pwds.yaml fake_ips.yaml \ No newline at end of file