Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Process netgroup file with a regex

by Velaki (Chaplain)
on Aug 23, 2006 at 18:20 UTC ( [id://569160]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Process netgroup file with a regex
in thread Process netgroup file with a regex

I updated my code snippet, above. I think it's more in keeping with what you want. You'll still have to output the hashes, but that should be easy enough. Their keys are the alias names for the netgroup being scanned, and the values are refs to an array of names (host, user, or domain).

Hope this helped
-v.

"Perl. There is no substitute."
  • Comment on Re^3: Process netgroup file with a regex

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://569160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-24 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found