From f8aa190f164526289e70056df92c7db03f18944a Mon Sep 17 00:00:00 2001 From: Karl-Hermann Wieners <karl-hermann.wieners@mpimet.mpg.de> Date: Tue, 19 Nov 2024 07:50:27 +0100 Subject: [PATCH] import: remove spurious 'i' in script output --- importexp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexp b/importexp index e11f980..a020735 100755 --- a/importexp +++ b/importexp @@ -130,7 +130,7 @@ done\ s@^(\s*)(cat\s+\$thisscript)@\1: \2@ 2 i\ cd '$WORK_DIR' - /^\s*#.*start\s+experiment/i i'"$SHOW_HERE_DOCS"' + /^\s*#.*start\s+experiment/ i'"$SHOW_HERE_DOCS"' s:^(\s*)(set\s+\+x\s*$|(set\s+\+\w+)x):\1\3: '"${REMOVE_ERROR_FLAG_SH-}"' s:^(\s*)SCRIPT_DIR=.*$:\1SCRIPT_DIR='$WORK_DIR': -- GitLab