projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove traling spaces from non empty lines in command output
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index 60c7f1086d228ccc03c68f5364fe9ee71134803d..42b2efbb8ca93ea2234a32618a3afefd2d8e4343 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-470,7
+470,7
@@
sub run_cmd
return ();
}
}
- return
(@ans)
;
+ return
map {s/[^\s]\s+$//; $_} @ans
;
}
#