diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-16 18:13:32 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-04-16 18:13:32 +0200 |
commit | 56af88aeceb10b0c66f4a26227e8980654c6c587 (patch) | |
tree | 3187b9d44ef9aac1cc23e3d0608ced696e91c430 /tools/sed-functions | |
parent | bf681e9e90adf99357f754284703ea2c6dc3ff4e (diff) | |
download | ffi-efl-56af88aeceb10b0c66f4a26227e8980654c6c587.zip ffi-efl-56af88aeceb10b0c66f4a26227e8980654c6c587.tar.gz |
add gitignore, extract api into ./tools/api
Diffstat (limited to 'tools/sed-functions')
-rw-r--r-- | tools/sed-functions | 6 |
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 |