代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/117608/14911586
syn awk.syn
; TextPad keyword syntax file for AWK
; Contributed by Marco Montagnana, 21/12/98
; Updated 16/7/99
C=1
[Syntax]
Namespace1=6
IgnoreCase = Yes
InitKeyWordChars = A-Za-z_
KeyWordChars = A-Z
www.eeworm.com/read/116739/14956206
sc awk.sc
/tom/ { count["tom"]++ }
/mary/ { count["mary"]++ }
END{print "There are " count["tom"] " Tom's in the file and \
" count["mary"]" Mary's in the file."}
www.eeworm.com/read/116739/14956252
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/213675/15127777
awk getnoderecv.awk
# getData.awk
BEGIN {
if(step ==0)
step = 10;
base = 0;
start = 0;
bytes = 0;
total_bytes = 0;
max = 0;
calc = 0;
}
$0 ~/^s.* AGT/ {
if (base == 0 && $3 == ("_" src "_")) {
base = $2;
www.eeworm.com/read/213675/15127779
awk getratio.awk
# 初始化设定
BEGIN {
sendLine = 0;
recvLine = 0;
fowardLine = 0;
}
# 应用层收到包
$0 ~/^s.* AGT/ {
sendLine ++ ;
}
# 应用层发送包
$0 ~/^r.* AGT/ {
recvLine ++ ;
}
# 路由层转发包
$0 ~/^f.* R
www.eeworm.com/read/213674/15127780
awk avgstats.awk
BEGIN {
recvdSize = 0
startTime = 1e6
stopTime = 0
}
{
# Trace line format: normal
if ($2 != "-t") {
event = $1
time = $2
if (event == "+" || event == "-") node_id = $3
if (event == "r"
www.eeworm.com/read/213673/15127781
awk all.awk
# 初始化设定
BEGIN {
sends = 0;
receives = 0;
routing_packets = 0;
end_to_end_delay = 0;
highest_packet_id = 0;
}
{action=$1;
if(action == "s" || action ==
www.eeworm.com/read/207928/15256580
pdf awk.pdf
www.eeworm.com/read/205421/15316184
awk getver.awk
# SCCSID @(#)getver.awk 1.1 11/19/96
#
# Get versions of all files used to make current target
#
BEGIN {
printf("#\n# Copyright 1996, ESS Technology, Inc.\n");
printf("# SCCSID %%%s%% %%%s%%
www.eeworm.com/read/205421/15316235
awk getver.awk
# SCCSID @(#)getver.awk 1.1 11/24/97
#
# Get versions of all files used to make current target
#
BEGIN {
printf("#\n# Copyright 1996, ESS Technology, Inc.\n");
printf("# SCCSID %%%s%% %%%s%%\