代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/471908/1420054
awk noassign.awk
# noassign.awk --- library file to avoid the need for a
# special option that disables command-line assignments
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# October 1999
function disable_as
www.eeworm.com/read/471908/1420055
awk nextfile.awk
# nextfile --- skip remaining records in current file
# correctly handle successive occurrences of the same file
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May, 1993
# this should be read
www.eeworm.com/read/471908/1420056
awk rewind.awk
# rewind.awk --- rewind the current file and start over
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# September 2000
function rewind( i)
{
# shift remaining arguments up
for (i =
www.eeworm.com/read/471908/1420058
awk round.awk
# round.awk --- do normal rounding
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# August, 1996
function round(x, ival, aval, fraction)
{
ival = int(x) # integer part, int() truncates
www.eeworm.com/read/471908/1420059
awk getopt.awk
# getopt.awk --- do C library getopt(3) function in awk
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
#
# Initial version: March, 1991
# Revised: May, 1993
# External variables:
# Optind --
www.eeworm.com/read/471908/1420062
awk ctime.awk
# ctime.awk
#
# awk version of C ctime(3) function
function ctime(ts, format)
{
format = "%a %b %d %H:%M:%S %Z %Y"
if (ts == 0)
ts = systime() # use current time as default
www.eeworm.com/read/471908/1420063
awk assert.awk
# assert --- assert that a condition is true. Otherwise exit.
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May, 1993
function assert(condition, string)
{
if (! condition) {
pri
www.eeworm.com/read/471908/1420065
awk strtonum.awk
# strtonum --- convert string to number
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# February, 2004
function mystrtonum(str, ret, chars, n, i, k, c)
{
if (str ~ /^0[0-7]*$/) {
www.eeworm.com/read/471908/1420066
awk zerofile.awk
# zerofile.awk --- library file to process empty input files
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# June 2003
BEGIN { Argind = 0 }
ARGIND > Argind + 1 {
for (Argind++; Argind < A
www.eeworm.com/read/471908/1420067
awk ord.awk
# ord.awk --- do ord and chr
# Global identifiers:
# _ord_: numerical values indexed by characters
# _ord_init: function to initialize _ord_
#
# Arnold Robbins, arnold@skeeve.com, Pub