diff --git a/sh/core/code.awk b/sh/core/code.awk index ad854cf..cbbcf03 100644 --- a/sh/core/code.awk +++ b/sh/core/code.awk @@ -58,9 +58,9 @@ function extract(string, type) { } } -function strip_first(string, target, tmp) { +function strip_first(string, sep, tmp) { tmp = string - sub(target, "", tmp) + sub(sep, "", tmp) return trim(tmp) }