A
anon1m0us
Hi;
Here is my line of code that I need help in:
result_of_na_citrix=`net group na-citrix /dom`.split(" ")
This gets all the users in in it's own index split on a space.
However, there is a bunch of garbage (stuff that I do not need to
capture) before the names of the users are listed. Here is an example
The request will be processed at a domain controller for domain
abc.com.
Group name NA-CITRIX
Comment Owner:John Doe
Members
-------------------------------------------------------------------------------
The list of users begins here.
I need to get the list of users ONLY. Basically, to capture info AFTER
the dashes -----------. I did a 20.times do, but each group has a
different information. The ONLY consistent thing is the list of users
that start AFTER the dashes,
Here is my line of code that I need help in:
result_of_na_citrix=`net group na-citrix /dom`.split(" ")
This gets all the users in in it's own index split on a space.
However, there is a bunch of garbage (stuff that I do not need to
capture) before the names of the users are listed. Here is an example
The request will be processed at a domain controller for domain
abc.com.
Group name NA-CITRIX
Comment Owner:John Doe
Members
-------------------------------------------------------------------------------
The list of users begins here.
I need to get the list of users ONLY. Basically, to capture info AFTER
the dashes -----------. I did a 20.times do, but each group has a
different information. The ONLY consistent thing is the list of users
that start AFTER the dashes,