File: filterinternal.pl

package info (click to toggle)
notion 3%2B2017050501-1
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 4,892 kB
  • sloc: ansic: 46,866; sh: 2,016; makefile: 553; perl: 270
file content (12 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl

use strict;
use warnings;

while (<STDIN> =~ /(\w)\t([^\t]*)\t(.*)/) 
{
    my ($action, $called, $rest) = ($1, $2, $3);
    if ($called !~ /extl/ && $called !~ /exports.c/) {
        print "$1\t$2\t$3\n";
    }
}