mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@452 d0543943-73ff-0310-b7d9-9358b9ac24b2
18 lines
472 B
Awk
18 lines
472 B
Awk
BEGIN { srcname = "nothing"; }
|
|
{ if (/^A\.[0-9][0-9]* [a-zA-Z][a-zA-Z_0-9]*\.[ch]/) {
|
|
if (srcname != "nothing")
|
|
close(srcname);
|
|
srcname = $2;
|
|
printf("creating source file %s\n", srcname);
|
|
}else if (srcname != "nothing") {
|
|
if (/Andersen et\. al\./ || /Internet Low Bit Rate Codec *May 04/)
|
|
printf("skipping %s\n", $0);
|
|
else
|
|
print $0 >> srcname;
|
|
}
|
|
}
|
|
END {
|
|
printf("ending file %s\n", srcname);
|
|
close(srcname);
|
|
}
|