Annotation of 43BSD/contrib/icon/man/man2/collate.2, revision 1.1.1.1

1.1       root        1: .so tmac.ilib
                      2: .TH COLLATE 2 "The University of Arizona \- 8/12/84
                      3: .SH NAME
                      4: collate \- collate and decollate strings
                      5: .SH DESCRIPTION
                      6: These procedures collate (interleave) respective characters of two
                      7: strings and decollate by selecting every other character of a string.
                      8: .SH SYNOPSIS
                      9: .IP \*Mcollate(s1,\*bs2)\fR 1.5i
                     10: produce a string consisting of
                     11: interleaved characters of \*Ms1\fR and \*Ms2\fR.
                     12: For example, \*Mcollate("abc",\*b"def")\fR produces \*M"adbecf"\fR.
                     13: .IP \*Mdecollate(s,\*bi)\fR 1.5i
                     14: produce a string consisting of
                     15: every other character of \*Ms\fR. If \*Mi\fR
                     16: is odd, the odd-numbered characters are selected, while if \*Mi\fR
                     17: is even, the even-numbered characters are selected.
                     18: .SH DIAGNOSTICS
                     19: Run-time error 208 occurs if the arguments to \*Mcollate\fR are not
                     20: of the same size.
                     21: .SH AUTHOR
                     22: Ralph E. Griswold

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.