Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl
- $file = $ARGV[0];
- @lines = `cat $file`;
- foreach $l (@lines)
- {
- if ($l =~ /([0-9]+)\) Work ID(.*)complete/)
- {
- print "$1 ";
- }
- elsif ($l =~ /([0-9]+)\) Task ID(.*)Reply add(.*) (\d+) /)
- {
- if ($4 < 100) { print "$1 "; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement