more junk
This commit is contained in:
parent
80fdea4a8f
commit
65e53a6f87
2 changed files with 50 additions and 0 deletions
20
cvsup/cvsup_filter
Executable file
20
cvsup/cvsup_filter
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
awk '
|
||||
BEGIN {
|
||||
FIRST=0
|
||||
}
|
||||
{
|
||||
if(FIRST==1){
|
||||
if(match($0, "Shutting down connection to server")){
|
||||
print "matched ok"
|
||||
exit 0
|
||||
} else {
|
||||
print "not matched ok"
|
||||
exit 1
|
||||
}
|
||||
} else {
|
||||
if(match($0, "Updating collection ")) {
|
||||
FIRST=1
|
||||
next
|
||||
}
|
||||
}
|
||||
}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue