File: doc-preclean.pl

package info (click to toggle)
multipath-tools 0.14.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,088 kB
  • sloc: ansic: 64,885; perl: 1,622; makefile: 742; sh: 732; pascal: 155
file content (15 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2016 Red Hat, Inc.
# Author: Gris Ge <fge@redhat.com>

use strict;

my @REMOVE_KEY_LIST=("DMMP_DLL_EXPORT");

while (<>) {
    for my $key (@REMOVE_KEY_LIST) {
        (s/$key//g);
    }
    print;
}