Does the pattern matching in the 3Par CLI have the concept of a negate? Looking the CLI reference and testing on my own I can't find anything, but kind of hoping it's there and I'm just overlooking it.
For example, if I wanted to show all hosts without "VM" in the name.
Showing with is easy, just:
showhost *VM*
But I see no way of listing all hosts without something in the name.
"glob-style pattern matching" and negate?
- Richard Siemers
- Site Admin
- Posts: 1333
- Joined: Tue Aug 18, 2009 10:35 pm
- Location: Dallas, Texas
Re: "glob-style pattern matching" and negate?
Unfortunately, I believe you are correct in that negating a pattern match is MIA in the cli.
You're best bet is to use the installable cli (instead of SSH) and pipe output to the OS cli tools of your choice... i.e. grep or find
For windows (assuming you have the correct variables setup for autologon):
showhost | find /v "VM"
You're best bet is to use the installable cli (instead of SSH) and pipe output to the OS cli tools of your choice... i.e. grep or find
For windows (assuming you have the correct variables setup for autologon):
showhost | find /v "VM"
Richard Siemers
The views and opinions expressed are my own and do not necessarily reflect those of my employer.
The views and opinions expressed are my own and do not necessarily reflect those of my employer.