I am using an existing NSH script and in that there is a blcli command which is listing all the instances under the property class DMGR
Command: blcli_execute PropertyClass listAllInstanceNames "Class://SystemObject/XYZ/DMGR"
Now lets say under that property class DMGR we have some property instances like
So the command is listing all the above mentioned instances.
Now my requirement is something like that I want to list only those instances the name of which has the letters "AMI"
So the result should be something like this
Process the output of listAllInstanceNames w/ standard unix text processing – sed/grep/awk/etc