Merge pull request #310 from leocassarani/rbenv-help-mawk

Fix incorrect formatting of rbenv-help output under MAWK
This commit is contained in:
Sam Stephenson 2013-01-05 13:51:57 -08:00
commit da80bced53

View file

@ -64,8 +64,8 @@ collect_documentation() {
}
function trim(str) {
gsub(/^\n*/, "", str)
gsub(/\n*$/, "", str)
sub(/^\n*/, "", str)
sub(/\n*$/, "", str)
return str
}