[previous] [up] [next]     [index]
Next: Classes with defined Methods: Up: MzLib Libraries Previous: MzLib Libraries

Awk: awk.ss

Files: awk.ss

This library defines the awk macro from Scsh:

  (awk next-record-expr
       (record field-variable  tex2html_wrap_inline100181 )
       counter-variable/optional
       ((state-variable init-expr)  tex2html_wrap_inline100181 )
       continue-variable/optional
    clause  tex2html_wrap_inline100181 )

counter-variable/optional is either empty or: variable

continue-variable/optional is either empty or: variable

clause is one of: (test body-expr tex2html_wrap_inline100183 ) (test => procedure-expr) (/ regexp-str / (variable-or-false tex2html_wrap_inline100183 ) body-expr tex2html_wrap_inline100183 ) (range exclusive-start-test exclusive-stop-test body-expr tex2html_wrap_inline100183 ) (:range inclusive-start-test exclusive-stop-test body-expr tex2html_wrap_inline100183 ) (range: exclusive-start-test inclusive-stop-test body-expr tex2html_wrap_inline100183 ) (:range: inclusive-start-test inclusive-inclusive-stop-test body-expr tex2html_wrap_inline100183 ) (else body-expr tex2html_wrap_inline100183 ) (after body-expr tex2html_wrap_inline100183 )

test is one of: integer regexp-str expr

variable-or-false is one of: variable #f

For detailed information about awk, see Olin Shivers's Scsh Reference Manual. In addition to awk, the Scsh-compatible procedures match:start, match:end, match:substring, and regexp-exec are defined. These match: procedures must be used to extract match information in a regular expression clause when using the => form.



PLT