Merge pull request #310 from leocassarani/rbenv-help-mawk
Fix incorrect formatting of rbenv-help output under MAWK
This commit is contained in:
commit
da80bced53
@ -64,8 +64,8 @@ collect_documentation() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function trim(str) {
|
function trim(str) {
|
||||||
gsub(/^\n*/, "", str)
|
sub(/^\n*/, "", str)
|
||||||
gsub(/\n*$/, "", str)
|
sub(/\n*$/, "", str)
|
||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user