| To: | scsh-bugs@martigny.ai.mit.edu |
|---|---|
| Subject: | Doc bug: "sort" function referenced in `awk.tex' chapter doesn't exist |
| From: | Bill Sommerfeld <sommerfeld@apollo.hp.com> |
| Date: | Wed, 4 Jan 1995 19:04:55 -0500 |
awk.tex contains the following example (near the end)
(for-each (lambda (entry) (display (cdr entry)) (newline)) ; Out
(sort (lambda (x y) (string<? (car x) (car y))) ; Sort
(let ((read (field-reader (infix-splitter ":" 7)))) ; In
(awk (read) (line fields) ((ans '()))
(#t (cons (cons ($ fields 0) line) ans))))))
However, the "sort" function doesn't seem to exist in scsh 0.3.
BTW, I've written one sample program with the awk macro and it seems
to do a good chunk of what I want ... looks good!
- Bill
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | Re: Doc bug: "sort" function referenced in `awk.tex' chapter doesn't exist, Olin Shivers |
|---|---|
| Next by Thread: | Re: Doc bug: "sort" function referenced in `awk.tex' chapter doesn't exist, Olin Shivers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |