Merge pull request #581 from LawnGnome/solaris-gawk
Prefer gawk over awk if both are available. Fixes rbenv-help on Solaris 11.1
This commit is contained in:
commit
fe0b2436b8
@ -36,7 +36,7 @@ extract_initial_comment_block() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
collect_documentation() {
|
collect_documentation() {
|
||||||
awk '
|
$(type -p gawk awk | head -1) '
|
||||||
/^Summary:/ {
|
/^Summary:/ {
|
||||||
summary = substr($0, 10)
|
summary = substr($0, 10)
|
||||||
next
|
next
|
||||||
|
Loading…
x
Reference in New Issue
Block a user