busybox-1.5.1.tar.gz linux内核编译用到的工具

源代码在线查看: tr-works

软件大小: 1802 K
上传用户: Emouse
关键词: busybox linux tar gz
下载地址: 免注册下载 普通下载 VIP

相关代码

				run_tr ()				{					echo -n "echo '$1' | tr '$2' '$3': "					echo "$1" | $bb tr "$2" "$3"					echo				}				tr_test ()				{					run_tr "cbaab"		abc 		zyx					run_tr "TESTING A B C" 	'[A-Z]' 	'[a-z]'					run_tr "abc[]" 		"a[b" 		AXB					run_tr abc		'[:alpha:]' 	A-ZA-Z					run_tr abc56		'[:alnum:]' 	A-ZA-Zxxxxxxxxxx					run_tr 012		'[:digit:]' 	abcdefghi					run_tr abc56		'[:lower:]' 	'[:upper:]'					run_tr " 	"	'[:space:]' 	12345					run_tr " 	"	'[:blank:]' 	12					run_tr 'a b'		'[= =]' 	X					run_tr "[:"		'[:' 		ab				}								bb=        tr_test > logfile.gnu				bb=busybox tr_test > logfile.bb				cmp logfile.gnu logfile.bb							

相关资源