代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/471908/1420083
awk awksed.awk
# awksed.awk --- do s/foo/bar/g using just print
# Thanks to Michael Brennan for the idea
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# August 1995
function usage()
{
print "usage: aw
www.eeworm.com/read/471908/1420084
awk guide.awk
BEGIN {
TEXTDOMAIN = "guide"
bindtextdomain(".") # for testing
print _"Don't Panic"
print _"The Answer Is", 42
print "Pardon me, Zaphod who?"
}
www.eeworm.com/read/471908/1420085
awk tee.awk
# tee.awk --- tee in awk
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# Revised December 1995
BEGIN \
{
for (i = 1; i < ARGC; i++)
copy[i] = ARGV[i]
if (ARGV[1]
www.eeworm.com/read/471908/1420086
awk testbits.awk
# bits2str --- turn a byte into readable 1's and 0's
function bits2str(bits, data, mask)
{
if (bits == 0)
return "0"
mask = 1
for (; bits != 0; bits = rshift(bits, 1))
www.eeworm.com/read/471908/1420087
awk split.awk
# split.awk --- do split in awk
#
# Requires ord and chr library functions
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# usage: split [-num] [file] [outname]
BEGIN {
outfile
www.eeworm.com/read/471908/1420088
awk extract.awk
# extract.awk --- extract files and run programs
# from texinfo files
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# Revised September 2000
BEGIN { IGNORECASE =
www.eeworm.com/read/471908/1420089
awk id.awk
# id.awk --- implement id in awk
#
# Requires user and group library functions
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# Revised February 1996
# output is:
# uid=12(foo) euid=
www.eeworm.com/read/471908/1420090
awk findpat.awk
{
if ($1 == "FIND")
regex = $2
else {
where = match($0, regex)
if (where != 0)
print "Match of", regex, "found at",
where, "in"
www.eeworm.com/read/471908/1420092
awk arraymax.awk
{
if ($1 > max)
max = $1
arr[$1] = $0
}
END {
for (x = 1; x
www.eeworm.com/read/471908/1420094
awk coreserv.awk
# CGI Library and core of a web server
#
# Juergen Kahrs, Juergen.Kahrs@vr-web.de
# with Arnold Robbins, arnold@gnu.org
# September 2000
# Global arrays
# GETARG --- arguments to CGI GET command
#