#!/usr/bin/perl -w# (c) 2007, Joe Perches <joe@perches.com># created from checkpatch.pl## Print selected MAINTAINERS information for# the files modified in a patch or for a file## usage: perl scripts/get_maintainer.pl [OPTIONS] <patch># perl scripts/get_maintainer.pl [OPTIONS] -f <file>## Licensed under the terms of the GNU GPL License version 2usestrict;my$P=$0;my$V='0.24';useGetopt::Longqw(:config no_auto_abbrev);my$lk_path="./";my$email=1;my$email_usename=1;my$email_maintainer=1;my$email_list=1;my$email_subscriber_list=0;my$email_git_penguin_chiefs=0;my$email_git=1;my$email_git_all_signature_types=0;my$email_git_blame=0;my$email_git_min_signatures=1;my$email_git_max_maintainers=5;my$email_git_min_percent=5;my$email_git_since="1-year-ago";my$email_hg_since="-365";my$email_remove_duplicates=1;my$output_multiline=1;my$output_separator=", ";my$output_roles=0;my$output_rolestats=0;my$scm=0;my$web=0;my$subsystem=0;my$status=0;my$keywords=1;my$sections=0;my$file_emails=0;my$from_filename=0;my$pattern_depth=0;my$version=0;my$help=0;my$exit=0;my@penguin_chief=();