This commit is contained in:
Marc Beninca 2024-06-24 12:04:00 +02:00
parent 3df6f15f0e
commit 7a9ed2ee10
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -767,9 +767,9 @@ pidd_sed() {
if [ -f "${pidd_sed__file}" ]; then
pidd_cat "${pidd_sed__file}"
for pidd_sed__regex in "${@}"; do
sed --in-place "s${pidd_sed__regex}g" "${pidd_sed__file}" \
&& pidd_cat "${pidd_sed__file}" \
|| exit
sed --in-place "s${pidd_sed__regex}g" "${pidd_sed__file}" &&
pidd_cat "${pidd_sed__file}" ||
exit
done
fi
}