代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/430518/1928816
awk actionnm.awk
# usage: awk -f actionnm.awk pseudocode.h
#
BEGIN { "date" | getline
today = $0
printf("\n/* this file generated on %s */\n", today )
printf("\nstatic char *action_names[] = { \n " )
opl = 0
}
www.eeworm.com/read/430518/1928819
awk compile.awk
# usage: cat pseudocode | sed -f act2num | awk -f compile.awk
#
#
BEGIN { "date" | getline
today = $0
printf("\n/* this file generated on %s */\n", today )
printf("\nstatic char pseudo_code [ ] =
www.eeworm.com/read/430182/1940826
awk compile.awk
# to run: awk -f transit.awk transit.p0
#
BEGIN { "date" | getline
enable_index = 1
today = $0
printf("\n/* this file was generated on %s */\n", today )
not_firstone = 0 # flag to avoid empty ent
www.eeworm.com/read/430182/1940832
awk actionnm.awk
# usage: awk -f actionnm.awk pseudocode.h
#
BEGIN { "date" | getline
today = $0
printf("\n/* this file generated on %s */\n", today )
printf("\nstatic char *action_names[] = { \n " )
opl = 0
}
www.eeworm.com/read/430182/1940835
awk compile.awk
# usage: cat pseudocode | sed -f act2num | awk -f compile.awk
#
#
BEGIN { "date" | getline
today = $0
printf("\n/* this file generated on %s */\n", today )
printf("\nstatic char pseudo_code [ ] =
www.eeworm.com/read/429717/1946254
awk nstonam.awk
#!/usr/bin/awk
#
# nam fmt:
# eventCode time src dst size attr type conv id
#
# ns fmt:
# eventCode time src dst pktType size flags class src.sport dst.dport
# seqno uid
#
$2 ~ /testName/ {
next;
www.eeworm.com/read/429717/1946261
awk pkts.awk
#
# pkts.awk
# awk script to parse the output of a ns trace file,
# and produce seqno vs time XY data file
#
# Usage:
# awk -f pkts.awk OP= [args] tracefile
#
# [args] can be:
# FID=
www.eeworm.com/read/429717/1946270
awk bw.awk
#
# bw.awk
# awk script to parse the output of a ns trace file,
# and produce mean bandwidth vs time-interval
#
# Usage:
# awk -f bw.awk OP= [args] tracefile
#
# [a
www.eeworm.com/read/429717/1946287
awk avgpktdrop.awk
BEGIN {drops=0; arr=0}
{drops += $16; arr += $12}
END {print "drops = " drops; print "arrivals = " arr; print "avg pkt drop % = " drops/arr}
www.eeworm.com/read/429717/1946383
awk types.awk
BEGIN { }
$1 ~ /[-]/ {
found = 0;
for (j = 2; j < $NF; j++) {
if ($j == "-s") {
a = j + 1;
}
if ($j == "-d") {
b = j + 1;
}
if ($j == "-c") {
c = j + 1;
if ($c != 30 && $c != 31 &&