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

📄 checkhelp.pl

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 PL
字号:
#!/usr/bin/perl# checkhelp.pl - finds configuration options that have no#                corresponding section in the help file## made by Meelis Roos (mroos@tartu.cyber.ee)# read the help file@options=split /\n/, `grep '^CONFIG' Documentation/Configure.help`;die "Can't read Documentation/Configure.help\n" if $#options == -1;#read all the filesforeach $file (@ARGV){	open (FILE, $file) || die "Can't open $file: $!\n";	while (<FILE>) {		# repeat until no CONFIG_* are left		while (/^\s*(bool|tristate|dep_tristate|string|int|hex).*' *(.*)'.*(CONFIG_\w*)/) {			$what=$3;			$name=$2;			s/$3//;			@found = grep (/$what$/, @options);			if ($#found == -1) {				next if $nohelp{$what};				print "$name\n$what\n  No help for $what\n\n";				$nohelp{$what}=1;			}		}	}	close (FILE);}

⌨️ 快捷键说明

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