天下任我行
allowmego
全部博文(46)
2013年(4)
2012年(12)
2011年(3)
2010年(5)
2009年(16)
2008年(6)
风林火山
yangyefe
wzongrui
sww_lyu
sxwxyfp
三角湖的
yanhaili
suse110
childish
分类:
2010-01-29 14:00:17
#!/usr/bin/perl # use strict; my $cmdline; foreach my $c (@ARGV){ $cmdline.=$c; } print $cmdline,"\n"; my @list=split(/--/,$cmdline); print "LIST[0]: $list[0]\n"; print "CMD:",shift @list,"\n"; foreach my $c (@list){ if ($c =~/(\S+)=(\S+)/){ print "K=$1, V=$2\n"; } }
上一篇:Revert changes from this revision 跟Revert to this
下一篇:ubuntu 10.04 grub 修改默认启动系统为windows
登录 注册