yet more formatting

This commit is contained in:
stilez 2018-08-13 14:44:23 +00:00 committed by GitHub
parent 9fdd77875f
commit 4f233cdb19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -812,7 +812,7 @@ _pleskxml_rmv_txt_record() {
| grep -F "<host>${2:-<NON_MATCHING_GARBAGE>}." \ | grep -F "<host>${2:-<NON_MATCHING_GARBAGE>}." \
| grep -F "<value>${3:-<NON_MATCHING_GARBAGE>}</value>" \ | grep -F "<value>${3:-<NON_MATCHING_GARBAGE>}</value>" \
| sed -E 's/(^[[:space:]]+|[[:space:]]+$)//g' \ | sed -E 's/(^[[:space:]]+|[[:space:]]+$)//g' \
32m | tr -d '\n' | tr -d '\n'
)" )"
# Run 2 separate GREP filters, because the host and value order isn't mandatory in the API return data # Run 2 separate GREP filters, because the host and value order isn't mandatory in the API return data
# ands this avoids regex and escaping which is easier # ands this avoids regex and escaping which is easier