⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getparamdesc

📁 刚才是说明 现在是安装程序在 LINUX环境下进行编程的MPICH安装文件
💻
字号:
#! /usr/bin/perl -I../../../maint -Imaint## Read files, looking for MPIU_Param_register( ... ).  Extract the # arguments: name, environment-variable-name, and description.# require "parse.sub";$debug = 0;$showfiles = 0;# Check for special args@files = ();foreach $arg (@ARGV) {    if ($arg =~ /^-showfiles/) { $showfiles = 1; }    elsif( $arg =~ /-debug/) { $debug = 1; }    else {	print "Adding $arg to files\n" if $debug;	$files[$#files+1] = $arg;    }}sub ProcessFile {     my $filename = $_[0];    open (FD, "<$filename" ) || die "Could not open $filename\n";    while (<FD>) {	# Skip the definition of the function	if (/int\s*MPIU_Param_register/) { next; }	while (/MPIU_Param_register\s*(\(.*$)/) {	    ($leader, $remainder, @args ) = &GetSubArgs( FD, $1 );	    if ($debug) {		foreach $arg (@args) {		    print "|$arg|\n";		}	    }	    $name = $args[0];	    $envname = $args[1];	    $descript = $args[2];	    $_ = $remainder;	    print "Parameters %name:$envname:$descript\n";	}    }		    close FD;}# Process the definitionsforeach $file (@files) {    print "$file\n" if $showfiles;    &ProcessFile( $file );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -