<p>Changing the script to use NULL requires more changes at these regular expressions and grep calls also assume new lines as separators. With <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="460940552" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/768" data-hovercard-type="pull_request" data-hovercard-url="/rpm-software-management/rpm/pull/768/hovercard" href="https://github.com/rpm-software-management/rpm/pull/768">#768</a> we can leave this parts unchanged for now. Making rpm scripts save for file names with new line characters will require hardening many more places thatn just this script.<br>
Quotes are a bit different than other special chars as xargs is choking on them due to trying to do something smart with it.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/765?email_source=notifications&email_token=ADLPZUYOV4SBEQ7WNLNVGLTP4NQFDA5CNFSM4H3J7VVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYTMWVI#issuecomment-505858901">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU6PHZ4Z4CF7DIHBDULP4NQFDANCNFSM4H3J7VVA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU72QY6RSWBILJJSVH3P4NQFDA5CNFSM4H3J7VVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYTMWVI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/765?email_source=notifications\u0026email_token=ADLPZUYOV4SBEQ7WNLNVGLTP4NQFDA5CNFSM4H3J7VVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYTMWVI#issuecomment-505858901",
"url": "https://github.com/rpm-software-management/rpm/pull/765?email_source=notifications\u0026email_token=ADLPZUYOV4SBEQ7WNLNVGLTP4NQFDA5CNFSM4H3J7VVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYTMWVI#issuecomment-505858901",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>