代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/471908/1420072
awk translate.awk
# translate.awk --- do tr-like stuff
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# August 1989
# Bugs: does not handle things like: tr A-Z a-z, it has
# to be spelled out. However, if `to' i
www.eeworm.com/read/471908/1420073
awk cut.awk
# cut.awk --- implement cut in awk
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# Options:
# -f list Cut fields
# -d c Field delimiter character
# -c list C
www.eeworm.com/read/471908/1420074
awk uniq.awk
# uniq.awk --- do uniq in awk
#
# Requires getopt and join library functions
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
function usage( e)
{
e = "Usage: uniq [-udc [-n]] [
www.eeworm.com/read/471908/1420075
awk wc.awk
# wc.awk --- count lines, words, characters
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# Options:
# -l only count lines
# -w only count words
# -c only count ch
www.eeworm.com/read/471908/1420076
awk wordfreq.awk
# wordfreq.awk --- print list of word frequencies
{
$0 = tolower($0) # remove case distinctions
# remove punctuation
gsub(/[^[:alnum:]_[:blank:]]/, "", $0)
for (i = 1; i
www.eeworm.com/read/471908/1420077
awk histsort.awk
# histsort.awk --- compact a shell history file
# Thanks to Byron Rakitzis for the general idea
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
{
if (data[$0]++ == 0)
line
www.eeworm.com/read/471908/1420078
awk labels.awk
# labels.awk --- print mailing labels
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# June 1992
# Each label is 5 lines of data that may have blank lines.
# The label sheets have 2 blank lines
www.eeworm.com/read/471908/1420080
awk dupword.awk
# dupword.awk --- find duplicate words in text
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# December 1991
# Revised October 2000
{
$0 = tolower($0)
gsub(/[^[:alnum:][:blank:]]/, " "
www.eeworm.com/read/471908/1420081
awk alarm.awk
# alarm.awk --- set an alarm
#
# Requires gettimeofday library function
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# usage: alarm time [ "message" [ count [ delay ] ] ]
BEGIN
www.eeworm.com/read/471908/1420082
awk egrep.awk
# egrep.awk --- simulate egrep in awk
#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May 1993
# Options:
# -c count of lines
# -s silent - use exit value
# -v invert test, s