Grep
Jump to navigation
Jump to search
cat file | grep -v "^#\|^$" grep -rl $oldstring /path/to/folder | xargs sed -i s@$oldstring@$newstring@g
grep -o '^[^#]*' file.yaml | grep -v -e '^[[:space:]]*$' grep -o '^[^#]*' custom-values.yaml | grep -v "^\s*$"