diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-10-15 18:34:07 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-10-15 18:34:07 +0200 |
commit | 6d04ada06ce29868338face2fbbec8ab72c48dd2 (patch) | |
tree | 537ea335a906f7b8ef177ac435433a40b3731b50 /diller/inter.lua | |
parent | d9da54abcc784ecca5e1c0c415820a32e68c2296 (diff) | |
download | esp-playground-6d04ada06ce29868338face2fbbec8ab72c48dd2.tar.gz esp-playground-6d04ada06ce29868338face2fbbec8ab72c48dd2.tar.bz2 esp-playground-6d04ada06ce29868338face2fbbec8ab72c48dd2.tar.xz esp-playground-6d04ada06ce29868338face2fbbec8ab72c48dd2.zip |
wip
Diffstat (limited to 'diller/inter.lua')
-rw-r--r-- | diller/inter.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/diller/inter.lua b/diller/inter.lua index 725edbd..e10e1df 100644 --- a/diller/inter.lua +++ b/diller/inter.lua @@ -4,7 +4,8 @@ function P.parse(line) -- print("inter_parse: line="..line) line = string.sub(line, 1, string.find(line, "\r")) - line = line:gsub("%s+", "") + line = line:gsub("^%s+", "") + line = line:gsub("%s+$", "") local args = {} local i = string.find(line, " ") |