From 7a9ed2ee10f2b6c16ecbe853c61078990f456761 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 24 Jun 2024 12:04:00 +0200 Subject: [PATCH] pidd_sed --- pidd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pidd.sh b/pidd.sh index b0f4247..f02a429 100644 --- a/pidd.sh +++ b/pidd.sh @@ -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 }