代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/409921/2223190
awk depend.awk
#! /usr/bin/awk -f
# This is an awk script which does dependencies. We do NOT want it to
# recursively follow #include directives.
# We only add to dependencies those files which are inside of the
www.eeworm.com/read/408818/2245121
scr awk.scr
/.*\(0x3da.*/||/.*\(0x3ba.*/ {
if (v_3da != 1) print "_v_retrace_";
v_3da = 1;
next;
}
/.*\(0x42.*/||/.*\(0x43.*/ {
if (v_4x != 1) print "_timer_";
www.eeworm.com/read/407756/2258926
awk form.awk
# form.awk is an awk script that requires access to 2 files: The
# first file is called "form.letter." This file contains the
# format for a form letter. The awk script uses another file,
# "data.form
www.eeworm.com/read/407756/2258960
sc awk.sc
# awk.sc script
/tom/ { count["tom"]++ }
/mary/ { count["mary"]++ }
END{print "There are " count["tom"] " Toms in the file and
" count["mary"]" Marys in the file."}
www.eeworm.com/read/406924/2271973
awk jumptable.awk
/[^[:blank:]]/ {
line[num++]=$0
}
END {
for (i = 0; i < num; i++)
{
gsub(/[[:blank:]]+/, "", line[i])
}
printf ";\n; Automaticaly generated file\n;\n"
printf "\tARM\n"
print
www.eeworm.com/read/405279/2293648
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/405279/2293649
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/405279/2293657
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/405279/2293669
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}