Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #!/usr/bin/perl
  2. $file = $ARGV[0];
  3.  
  4. @lines = `cat $file`;
  5. foreach $l (@lines)
  6. {
  7. if ($l =~ /([0-9]+)\) Work ID(.*)complete/)
  8. {
  9. print "$1 ";
  10. }
  11. elsif ($l =~ /([0-9]+)\) Task ID(.*)Reply add(.*) (\d+) /)
  12. {
  13. if ($4 < 100) { print "$1 "; }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement