Guest User

Untitled

a guest
Jan 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/usr/bin/perl
  2. open ORCCONF, "/etc/orc/orc.conf";
  3. my @orcconf = <ORCCONF>;
  4. close ORCCONF;
  5. my @processList = map { /^PROC:(.*?):/ ? $1 : () } @orcconf;
  6. map { print "$_\n"; } @processList;
Add Comment
Please, Sign In to add comment