From 2d7061e1e82178ffa52e927728175e4ab8245138 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 31 Mar 2026 11:48:01 +0400 Subject: [PATCH] echo /dev/err --- sympa/recipe/sympa_fix_personalization.recipe | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sympa/recipe/sympa_fix_personalization.recipe b/sympa/recipe/sympa_fix_personalization.recipe index 718fa4b..5962173 100644 --- a/sympa/recipe/sympa_fix_personalization.recipe +++ b/sympa/recipe/sympa_fix_personalization.recipe @@ -30,7 +30,6 @@ function patch_message_pm { echo 'already patched!' fi message=$(prepend_2lines_of_text_before_existing_line "$MESSAGE_PM" '$data->{sender} = $self->{sender};' '$data->{gecos} = $self->{gecos};' '$data->{subject} = $self->{decoded_subject};') - echo $message if [[ $message == 'do prepend' ]]; then echo 'prepending sender and gecos in message pm' FOUND=true @@ -53,9 +52,9 @@ function prepend_2lines_of_text_before_existing_line { if ! (grep "^$existing$" $file -B2 | grep -qz "$line1.*$line2.*$existing"); then echo 'do prepend' - echo -e "line1=$line1" - echo -e "line2=$line2" - echo -e "existing=$existing" + # >&2 echo "line1=$line1" + # >&2 echo "line2=$line2" + # >&2 echo "existing=$existing" sed -i "/^$existing$/s/^/$line1\n$line2\n/" $file else echo 'already done!'