This is the clawk Reference Manual, version 4, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:41:10 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
clawk
Common Lisp AWK
Zach Beane <xach@xach.com>
Michael Parker <mparker762@hotmail.com>
BSD-style
4
regex
(system).
packages.lisp
(file).
clawk.lisp
(file).
clawktest.lisp
(file).
clawk.system
(file).
clawk.translations
(file).
emp.data
(file).
license.txt
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
clawk/clawk.lisp
packages.lisp
(file).
clawk
(system).
!~
(function).
$#0
(symbol macro).
$#1
(symbol macro).
$#10
(symbol macro).
$#11
(symbol macro).
$#12
(symbol macro).
$#13
(symbol macro).
$#14
(symbol macro).
$#15
(symbol macro).
$#16
(symbol macro).
$#17
(symbol macro).
$#18
(symbol macro).
$#19
(symbol macro).
$#2
(symbol macro).
$#20
(symbol macro).
$#3
(symbol macro).
$#4
(symbol macro).
$#5
(symbol macro).
$#6
(symbol macro).
$#7
(symbol macro).
$#8
(symbol macro).
$#9
(symbol macro).
(setf $#n)
(setf expander).
$#n
(function).
$#nf
(symbol macro).
$*
(function).
$+
(function).
$++
(function).
$-
(function).
$/
(function).
$/=
(generic function).
$0
(symbol macro).
$1
(symbol macro).
$10
(symbol macro).
$11
(symbol macro).
$12
(symbol macro).
$13
(symbol macro).
$14
(symbol macro).
$15
(symbol macro).
$16
(symbol macro).
$17
(symbol macro).
$18
(symbol macro).
$19
(symbol macro).
$2
(symbol macro).
$20
(symbol macro).
$3
(symbol macro).
$4
(symbol macro).
$5
(symbol macro).
$6
(symbol macro).
$7
(symbol macro).
$8
(symbol macro).
$9
(symbol macro).
$<
(generic function).
$<=
(generic function).
$==
(generic function).
$>
(generic function).
$>=
(generic function).
$aref
(macro).
$array
(function).
$atan2
(function).
$cos
(function).
$delete
(function).
$exp
(function).
$expt
(function).
$for
(macro).
$fprint
(function).
$gsub
(function).
$in
(function).
$index
(function).
$int
(function).
$length
(generic function).
$log
(function).
$match
(function).
$max
(generic function).
$min
(generic function).
(setf $n)
(setf expander).
$n
(function).
$nf
(symbol macro).
$print
(function).
$rand
(function).
$rem
(function).
$sin
(function).
$split
(function).
$sqrt
(function).
$srand
(function).
$sub
(function).
$substr
(function).
$zerop
(generic function).
%#0
(symbol macro).
%#1
(symbol macro).
%#10
(symbol macro).
%#11
(symbol macro).
%#12
(symbol macro).
%#13
(symbol macro).
%#14
(symbol macro).
%#15
(symbol macro).
%#16
(symbol macro).
%#17
(symbol macro).
%#18
(symbol macro).
%#19
(symbol macro).
%#2
(symbol macro).
%#20
(symbol macro).
%#3
(symbol macro).
%#4
(symbol macro).
%#5
(symbol macro).
%#6
(symbol macro).
%#7
(symbol macro).
%#8
(symbol macro).
%#9
(symbol macro).
%0
(symbol macro).
%1
(symbol macro).
%10
(symbol macro).
%11
(symbol macro).
%12
(symbol macro).
%13
(symbol macro).
%14
(symbol macro).
%15
(symbol macro).
%16
(symbol macro).
%17
(symbol macro).
%18
(symbol macro).
%19
(symbol macro).
%2
(symbol macro).
%20
(symbol macro).
%3
(symbol macro).
%4
(symbol macro).
%5
(symbol macro).
%6
(symbol macro).
%7
(symbol macro).
%8
(symbol macro).
%9
(symbol macro).
%n
(function).
*curfile*
(special variable).
*curline*
(special variable).
*fields*
(special variable).
*fnr*
(special variable).
*fs*
(special variable).
*last-successful-match*
(special variable).
*nf*
(special variable).
*nr*
(special variable).
*regs*
(special variable).
*rend*
(special variable).
*rlength*
(special variable).
*rstart*
(special variable).
*subsep*
(special variable).
/~
(function).
defawk
(macro).
for-file-fields
(macro).
for-file-lines
(macro).
for-stream-fields
(macro).
for-stream-lines
(macro).
get-matcher-for-pattern
(generic function).
gsub
(function).
if-match
(macro).
index
(function).
install-regex-syntax
(function).
int
(generic function).
match
(function).
match-case
(macro).
match-when
(macro).
num
(generic function).
split
(function).
str
(generic function).
sub
(function).
substr
(function).
when-file-fields
(macro).
when-stream-fields
(macro).
with-fields
(macro).
with-match
(macro).
with-patterns
(macro).
with-submatches
(macro).
~
(generic function).
!
(generic function).
!=
(function).
#/-reader
(function).
#`-reader
(function).
*fs-is-ws*
(special variable).
*ofs*
(special variable).
*ors*
(special variable).
*random-states*
(special variable).
+ws-fieldsep-pat+
(constant).
(setf assoc-array-ref)
(setf expander).
assoc-array-ref
(function).
do-$fprint
(function).
expand-for-file-fields
(function).
expand-for-file-lines
(function).
expand-for-stream-fields
(function).
expand-for-stream-lines
(function).
expand-if-match
(function).
expand-match-case
(function).
expand-match-case-clauses
(function).
expand-match-when-clause
(function).
expand-match-when-consequent
(function).
expand-with-fields
(function).
expand-with-match
(function).
expand-with-pattern
(function).
expand-with-patterns
(function).
expand-with-submatches
(function).
extract-begin-clauses
(function).
extract-docs-and-decs
(function).
extract-end-clauses
(function).
extract-pattern-clauses
(function).
fs
(function).
get-reg-str
(function).
install-cmd-syntax
(function).
is-special-clause
(function).
make-register-list
(function).
once-only
(macro).
side-effect-free-p
(function).
starts-with
(function).
symbol-name-eq
(function).
clawk/clawktest.lisp
packages.lisp
(file).
clawk.lisp
(file).
clawk
(system).
sample
(function).
test-1-1-1
(function).
test-1-1-2
(function).
test-1-1-3
(function).
test-1-1-4
(function).
test-1-11-1
(function).
test-1-11-2
(function).
test-1-12-1
(function).
test-1-12-3
(function).
test-1-12-4
(function).
test-1-13-1
(function).
test-1-13-2
(function).
test-1-14-1
(function).
test-1-14-2
(function).
test-1-14-3
(function).
test-1-15
(function).
test-1-16-2-1
(function).
test-1-16-2-2
(function).
test-1-17-3-1
(function).
test-1-17-3-2
(function).
test-1-2
(function).
test-1-6
(function).
test-1-7
(function).
test-1-9
(function).
test/1
(function).
test/2
(function).
Packages are listed by definition order.
clawk-test
clawk
.
common-lisp
.
sample
(function).
test-1-1-1
(function).
test-1-1-2
(function).
test-1-1-3
(function).
test-1-1-4
(function).
test-1-11-1
(function).
test-1-11-2
(function).
test-1-12-1
(function).
test-1-12-3
(function).
test-1-12-4
(function).
test-1-13-1
(function).
test-1-13-2
(function).
test-1-14-1
(function).
test-1-14-2
(function).
test-1-14-3
(function).
test-1-15
(function).
test-1-16-2-1
(function).
test-1-16-2-2
(function).
test-1-17-3-1
(function).
test-1-17-3-2
(function).
test-1-2
(function).
test-1-6
(function).
test-1-7
(function).
test-1-9
(function).
test/1
(function).
test/2
(function).
clawk
common-lisp
.
regex
.
!~
(function).
$#0
(symbol macro).
$#1
(symbol macro).
$#10
(symbol macro).
$#11
(symbol macro).
$#12
(symbol macro).
$#13
(symbol macro).
$#14
(symbol macro).
$#15
(symbol macro).
$#16
(symbol macro).
$#17
(symbol macro).
$#18
(symbol macro).
$#19
(symbol macro).
$#2
(symbol macro).
$#20
(symbol macro).
$#3
(symbol macro).
$#4
(symbol macro).
$#5
(symbol macro).
$#6
(symbol macro).
$#7
(symbol macro).
$#8
(symbol macro).
$#9
(symbol macro).
(setf $#n)
(setf expander).
$#n
(function).
$#nf
(symbol macro).
$*
(function).
$+
(function).
$++
(function).
$-
(function).
$/
(function).
$/=
(generic function).
$0
(symbol macro).
$1
(symbol macro).
$10
(symbol macro).
$11
(symbol macro).
$12
(symbol macro).
$13
(symbol macro).
$14
(symbol macro).
$15
(symbol macro).
$16
(symbol macro).
$17
(symbol macro).
$18
(symbol macro).
$19
(symbol macro).
$2
(symbol macro).
$20
(symbol macro).
$3
(symbol macro).
$4
(symbol macro).
$5
(symbol macro).
$6
(symbol macro).
$7
(symbol macro).
$8
(symbol macro).
$9
(symbol macro).
$<
(generic function).
$<=
(generic function).
$==
(generic function).
$>
(generic function).
$>=
(generic function).
$aref
(macro).
$array
(function).
$atan2
(function).
$cos
(function).
$delete
(function).
$exp
(function).
$expt
(function).
$for
(macro).
$fprint
(function).
$gsub
(function).
$in
(function).
$index
(function).
$int
(function).
$length
(generic function).
$log
(function).
$match
(function).
$max
(generic function).
$min
(generic function).
(setf $n)
(setf expander).
$n
(function).
$nf
(symbol macro).
$print
(function).
$rand
(function).
$rem
(function).
$sin
(function).
$split
(function).
$sqrt
(function).
$srand
(function).
$sub
(function).
$substr
(function).
$zerop
(generic function).
%#0
(symbol macro).
%#1
(symbol macro).
%#10
(symbol macro).
%#11
(symbol macro).
%#12
(symbol macro).
%#13
(symbol macro).
%#14
(symbol macro).
%#15
(symbol macro).
%#16
(symbol macro).
%#17
(symbol macro).
%#18
(symbol macro).
%#19
(symbol macro).
%#2
(symbol macro).
%#20
(symbol macro).
%#3
(symbol macro).
%#4
(symbol macro).
%#5
(symbol macro).
%#6
(symbol macro).
%#7
(symbol macro).
%#8
(symbol macro).
%#9
(symbol macro).
%0
(symbol macro).
%1
(symbol macro).
%10
(symbol macro).
%11
(symbol macro).
%12
(symbol macro).
%13
(symbol macro).
%14
(symbol macro).
%15
(symbol macro).
%16
(symbol macro).
%17
(symbol macro).
%18
(symbol macro).
%19
(symbol macro).
%2
(symbol macro).
%20
(symbol macro).
%3
(symbol macro).
%4
(symbol macro).
%5
(symbol macro).
%6
(symbol macro).
%7
(symbol macro).
%8
(symbol macro).
%9
(symbol macro).
%n
(function).
*curfile*
(special variable).
*curline*
(special variable).
*fields*
(special variable).
*fnr*
(special variable).
*fs*
(special variable).
*last-successful-match*
(special variable).
*nf*
(special variable).
*nr*
(special variable).
*regs*
(special variable).
*rend*
(special variable).
*rlength*
(special variable).
*rstart*
(special variable).
*subsep*
(special variable).
/~
(function).
defawk
(macro).
for-file-fields
(macro).
for-file-lines
(macro).
for-stream-fields
(macro).
for-stream-lines
(macro).
get-matcher-for-pattern
(generic function).
gsub
(function).
if-match
(macro).
index
(function).
install-regex-syntax
(function).
int
(generic function).
match
(function).
match-case
(macro).
match-when
(macro).
num
(generic function).
split
(function).
str
(generic function).
sub
(function).
substr
(function).
when-file-fields
(macro).
when-stream-fields
(macro).
with-fields
(macro).
with-match
(macro).
with-patterns
(macro).
with-submatches
(macro).
~
(generic function).
!
(generic function).
!=
(function).
#/-reader
(function).
#`-reader
(function).
*fs-is-ws*
(special variable).
*ofs*
(special variable).
*ors*
(special variable).
*random-states*
(special variable).
+ws-fieldsep-pat+
(constant).
(setf assoc-array-ref)
(setf expander).
assoc-array-ref
(function).
do-$fprint
(function).
expand-for-file-fields
(function).
expand-for-file-lines
(function).
expand-for-stream-fields
(function).
expand-for-stream-lines
(function).
expand-if-match
(function).
expand-match-case
(function).
expand-match-case-clauses
(function).
expand-match-when-clause
(function).
expand-match-when-consequent
(function).
expand-with-fields
(function).
expand-with-match
(function).
expand-with-pattern
(function).
expand-with-patterns
(function).
expand-with-submatches
(function).
extract-begin-clauses
(function).
extract-docs-and-decs
(function).
extract-end-clauses
(function).
extract-pattern-clauses
(function).
fs
(function).
get-reg-str
(function).
install-cmd-syntax
(function).
is-special-clause
(function).
make-register-list
(function).
once-only
(macro).
side-effect-free-p
(function).
starts-with
(function).
symbol-name-eq
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Match the pattern to the string, and if it matches, bind the *RSTART*, *RLENGTH*, and *REGS* and evaluate the consequent, otherwise evaluate the alternative.
Split the source string into fields based on the field separator, bind the field array to the fields variable.
Split the source string into registers based on the pattern, bind the register variables to the registers array.
Execute the body in an environment that includes the compiled patterns bound to their respective variables.
Bind the submatch variables to the corresponding strings from the registers array.
Test if pattern isn’t present in the string.
Access a field, as a number.
Replaces all occurrences of pattern in the source string. Coerces its arguments to the appropriate type.
Scan for first occurrence of a pattern within the source string. Coerces its arguments to the appropriate type.
Access a field.
Split a string up into a list of multiple fields based on
the field-separator pattern. Coerces its arguments to the appropriate type.
Replace the first occurrence of pattern in the source string. Coerces its arguments to the appropriate type.
Access a register.
Test if pattern isn’t present in the string.
Replace all occurrences of pattern in the source string.
Scan for first occurrence of a pattern within the source string.
Split a string up into a list of multiple fields based on the field-separator pattern.
Replace the first occurrence of pattern in the source string.
Test if pattern matches the string.
Returns the code built by BODY. If any of VARIABLES might have side effects, they are evaluated once and stored in temporary variables that are then passed to BODY.
Access a register.
Is EXP a constant, variable, or function,
or of the form (THE type x) where x is side-effect-free.
Print out the employees that have worked this week.
Print last line
Count lines, words, and characters
Input lines: amount rate years
Print lines in reverse order
Print lines in reverse order
Print the last field of every input line
Jump to: | !
#
$
%
(
/
~
A D E F G I M N O S T W |
---|
Jump to: | !
#
$
%
(
/
~
A D E F G I M N O S T W |
---|
Jump to: | $
%
*
+
C S |
---|
Jump to: | $
%
*
+
C S |
---|
Jump to: | C E F L P S |
---|
Jump to: | C E F L P S |
---|