Open hanju-jo opened 6 years ago
Fixed #255 by using awk instead of grep.
awk
grep
There is 5 types of version format: go1, go1.10beta1, go1.10, go1.8.5rc4, go1.9.2. So I think that getting 3rd word in $ go version command is better then using regex matching.
go1
go1.10beta1
go1.10
go1.8.5rc4
go1.9.2
$ go version
Awesome! Thx
@caiogondim can you please have a look and merge this PR? Thx
Fixed #255 by using
awk
instead ofgrep
.There is 5 types of version format:
go1
,go1.10beta1
,go1.10
,go1.8.5rc4
,go1.9.2
. So I think that getting 3rd word in$ go version
command is better then using regex matching.