thatdamkid
June 6th, 2012, 08:01 PM
I have an HTML File that dumps a bunch of employee info and looks like this.
Employee John.Doe
CLO
AGE22
ATN4
OWNER
PERF0
-
Employee Jane.Doe
2yr
-
Employee John.Smith
CLO
AGE22
ATN4
OWNER
PERF0
-
Employee Jane.Smith
weekly
-
...
This goes on for 2000 more times
All I want to do is awk out any employee entry that is 3 lines long so that I an left with only the following.
Employee John.Doe
CLO
AGE22
ATN4
OWNER
PERF0
-
Employee John.Smith
CLO
AGE22
ATN4
OWNER
PERF0
-
Thanks for the time.
Employee John.Doe
CLO
AGE22
ATN4
OWNER
PERF0
-
Employee Jane.Doe
2yr
-
Employee John.Smith
CLO
AGE22
ATN4
OWNER
PERF0
-
Employee Jane.Smith
weekly
-
...
This goes on for 2000 more times
All I want to do is awk out any employee entry that is 3 lines long so that I an left with only the following.
Employee John.Doe
CLO
AGE22
ATN4
OWNER
PERF0
-
Employee John.Smith
CLO
AGE22
ATN4
OWNER
PERF0
-
Thanks for the time.