代码搜索:awk

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

代码结果 3,459
www.eeworm.com/read/434450/7865898

awk split.awk

# split a string into separate fields in an array BEGIN { xsplit("i j k", a); for (i in a) print i, a[i] xsplit("x y z", a); for (i in a) print i, a[i] } function xsplit(x, y) {
www.eeworm.com/read/434450/7865901

awk xref.awk

# generate cross reference of identifiers in a program # Original program courtesy Bruce Feist of Arlington VA { # remove non alphanumeric characters gsub (/[`~!@#%\^&\*\(\)\+\|\-=\\\[\
www.eeworm.com/read/434450/7865903

awk quiz.awk

# quiz - present a quiz # usage: awk quiz topicfile question-subj answer-subj # AKW p118 BEGIN { FS = ":" if (ARGC != 4) error("usage: awk quiz topicfile question answer")
www.eeworm.com/read/434450/7865906

awk graph.awk

# graph - processor for a graph-drawing language # input: data and specification of a graph # output: data plotted in specified area # AKW p137 BEGIN { # set frame dimensi
www.eeworm.com/read/434450/7865909

awk enarc.awk

# generate text archive BEGIN { arcfile = ARGV[1] delete ARGV[1] } FILENAME != filename { print ("-ARCHIVE-", FILENAME) >arcfile print filename = FILENAME } { print >ar
www.eeworm.com/read/434450/7865914

awk rms.awk

# A program to compute the square root of the # sum of the squares of a set of numbers. # The set of numbers is provided as input - # one number to a record. # # NR is the current record number.
www.eeworm.com/read/434450/7865917

awk logsum.awk

# LogSum.AWK by S.H. Moody, 09-06-89 # The LOG.COM utility presented in Vol. 7, No. 21 (December 13, 1988) of # PC Magazine creates a USAGE.LOG file on your disk which contains # a log of all uses
www.eeworm.com/read/434450/7865921

awk table.awk

# form1 - format countries data by continent, pop. den. # AKW p91 BEGIN { FS = "\t" # make tab the field separator printf("%10s %6s %5s %s\n\n", "COUNTRY", "AREA", "P
www.eeworm.com/read/434450/7865926

awk rand.awk

# generate random numbers # AKW p70 BEGIN { srand() for (i = 1; i
www.eeworm.com/read/434450/7865928

awk asmgen.awk

# delete the opcode and comment fields of the output # from the ASMGEN disassembler NF < 1 || /^;/ { print next } $1 ~ /^;/ { i = 2; printf ("\t%s\t", $1) while (i