HPE Storage Users Group https://www.3parug.com/ |
|
"glob-style pattern matching" and negate? https://www.3parug.com/viewtopic.php?f=17&t=1094 |
Page 1 of 1 |
Author: | nbhms [ Mon Dec 29, 2014 12:52 pm ] |
Post subject: | "glob-style pattern matching" and negate? |
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. |
Author: | Richard Siemers [ Tue Jan 27, 2015 12:33 am ] |
Post subject: | 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" |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |