代码搜索:awk

找到约 3,459 项符合「awk」的源代码

代码结果 3,459
www.eeworm.com/read/319502/13450239

awk date.awk

BEGIN{ # This is a sample driver for the package consisting of the routines # { yrmoda, curcal, integer} # It allows conversion of interactively entered year month day to # running date
www.eeworm.com/read/314156/13573889

awk avr.awk

BEGIN { FS = " "} { nl++ } { s=s+$1} END {print "average:" s/nl}
www.eeworm.com/read/314156/13573890

awk stdv.awk

BEGIN {FS=" "}{ln++}{d=$1-t}{s2=s2+d*d} END {print "standev:" sqrt(s2/ln)}
www.eeworm.com/read/314153/13573901

awk avdelay.awk

# 使用的是无线trace的旧格式 BEGIN { highest_packet_id = 0; delaysum = 0; i = 0; } { action = $1; time = $2; packet_id = $6; type = $7; # 不考虑路由包,可以保证序号为0的cbr被统计到 i
www.eeworm.com/read/314153/13573902

awk delay.awk

# 使用的是无线trace的旧格式 BEGIN { highest_packet_id = 0; } { action = $1; time = $2; packet_id = $6; type = $7; # 不考虑路由包,可以保证序号为0的cbr被统计到 if ( type == "cbr" ) { if
www.eeworm.com/read/314153/13573903

awk routeload.awk

# 使用的是无线trace的旧格式 BEGIN { pkt_route_sum=0; pkt_cbr_sum=0; } { action = $1; pkttype = $7; pktsize = $8; } # 考虑到aodv和dsr中中间节点转发的rrep,所以加入了f参数 { if ( action == "s" || act
www.eeworm.com/read/314153/13573904

awk getratio.awk

# 使用的是无线trace的旧格式 BEGIN { sendpacket = 0; recvpacket = 0; } # 统计发送的数据包个数 $0 ~/^s.* AGT/ { sendpacket ++ ; } # 统计接收到的数据包个数 $0 ~/^r.* AGT/ { recvpacket ++
www.eeworm.com/read/314153/13573905

awk meanhop.awk

# 使用的是无线trace的旧格式 BEGIN { sendpacket = 0; fowdpacket = 0; } # 统计发送的数据包个数 $0 ~/^s.* AGT/ { sendpacket ++ ; } # 统计接收到的数据包个数 $0 ~/^f.* RTR/ { fowdpacket ++
www.eeworm.com/read/311774/13626246

awk makeconf.awk

BEGIN { printf("#include \"apue.h\"\n") printf("#include \n") printf("#include \n") printf("\n") printf("static void pr_sysconf(char *, int);\n") printf("static void pr_pathco
www.eeworm.com/read/311774/13626253

awk makeopt.awk

BEGIN { printf("#include \"apue.h\"\n") printf("#include \n") printf("\n") printf("static void pr_sysconf(char *, int);\n") printf("static void pr_pathconf(char *, char *, int);\n") pri