1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/cde/admin/BuildTools/tog/extract_log.awk

67 lines
822 B
Awk

BEGIN {
do_print = 0
}
/making Makefiles in / {
pos = match($NF, PATTERN)
if (pos == 1) {
do_print = 1
print
next
}
else {
do_print = 0
next
}
}
/cleaning in / {
pos = match($NF, PATTERN)
if (pos == 1) {
do_print = 1
print
next
}
else {
do_print = 0
next
}
}
/including in / {
pos = match($NF, PATTERN)
if (pos == 1) {
do_print = 1
print
next
}
else {
do_print = 0
next
}
}
/depending in / {
pos = match($NF, PATTERN)
if (pos == 1) {
do_print = 1
print
next
}
else {
do_print = 0
next
}
}
/making All in / {
pos = match($NF, PATTERN)
if (pos == 1) {
do_print = 1
print
next
}
else {
do_print = 0
next
}
}
/.*/ {
if (do_print) print
}