You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It grabs /home/kovetskiy for example... Not really useful.
I did a little hack in the code to get rid of it (src/github.com/kovetskiy/zabbixctl/search.go)
import (
"regexp"
"strings"
"bytes"
)
...
pattern := strings.Join(letters, "")
list := []string{".*", pattern ,".*"}
var str bytes.Buffer
for _, l := range list {
str.WriteString(l)
}
pattern = str.String()
You can use it, if you want
The text was updated successfully, but these errors were encountered:
Example:
zabbixctl -Tp -xx /mo
[DEBUG] ** searching m.*o
It grabs /home/kovetskiy for example... Not really useful.
I did a little hack in the code to get rid of it (src/github.com/kovetskiy/zabbixctl/search.go)
You can use it, if you want
The text was updated successfully, but these errors were encountered: