From 20918541857d1b1c9bb5ae49a0cd68018594cb78 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Wed, 13 Dec 2023 22:29:17 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E5=85=BC=E5=AE=B9=E5=8E=9F=E7=89=88=20?= =?UTF-8?q?ed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trans.sh b/trans.sh index f2a133d..5cd09e0 100644 --- a/trans.sh +++ b/trans.sh @@ -462,7 +462,7 @@ insert_into_file() { apk add ed in=$(mktemp) cat /dev/stdin >$in - echo -e "0r $in \n w \n q" | ed $file >/dev/null + echo -e "0r $in\n w \n q" | ed $file >/dev/null else line_num=$(grep -E -n "$regex_to_find" "$file" | cut -d: -f1)