summaryrefslogtreecommitdiffstats
path: root/tools/sed-functions
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sed-functions')
-rw-r--r--tools/sed-functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/sed-functions b/tools/sed-functions
index bcd57d0..9438459 100644
--- a/tools/sed-functions
+++ b/tools/sed-functions
@@ -1,8 +1,8 @@
# if return type on single line, append next line
-/EAPI.*[^;] *$/ { N; s/\n/ / }
+/EAPI.*[^;]\s*$/ { N; s/\n/ / }
# while unfinished argument list, append next line
:loop
/,$/ { N; s/\n/ /; t loop }
-s/ \{2,\}/ /g
-s/^ *EAPI/EAPI/p
+s/ {2,}/ /g
+s/^\s*EAPI/EAPI/p