Annotation of 43BSDReno/share/doc/ucs/single/tac.1, revision 1.1

1.1     ! root        1: .\"    @(#)tac.1       1.1 6/9/85
        !             2: .\"
        !             3: .TH TAC 1 "June 9, 1985"
        !             4: .SH NAME
        !             5: tac \- concatenate and print files in reverse
        !             6: .SH SYNOPSIS
        !             7: .B tac
        !             8: [
        !             9: .B \-string
        !            10: ] [
        !            11: .B +string
        !            12: ] file ...
        !            13: .SH DESCRIPTION
        !            14: .I Tac
        !            15: reads each
        !            16: .I file
        !            17: in sequence
        !            18: and writes it on the standard output, reversed by the file segments
        !            19: delimited by
        !            20: .I string.
        !            21: .I \-string
        !            22: specifies segments bounded on the left by
        !            23: .I string,
        !            24: while
        !            25: .I +string
        !            26: specifies right-bounded segments.
        !            27: The default is
        !            28: .I +\en
        !            29: (print lines in reverse order).
        !            30: .SH EXAMPLES
        !            31: .RS
        !            32: tac '-\e
        !            33: .br
        !            34: From\ ' /usr/spool/mail/$USER
        !            35: .RE
        !            36: prints out one's mail messages, most recent first.
        !            37: .PP
        !            38: .RS
        !            39: tac file
        !            40: .RE
        !            41: prints the file in reverse, line by line, and:
        !            42: .PP
        !            43: .RS
        !            44: tac file1 file2 >file3
        !            45: .RE
        !            46: reverses each of the first two files by line and places the
        !            47: concatenated result on the third.
        !            48: .SH SEE ALSO
        !            49: cat(1), rev(1), tail(1), tmail(1)
        !            50: .SH BUGS
        !            51: .I Tac
        !            52: doesn't yet handle multiple argument files exactly right.  It's
        !            53: also unclear which direction it should process them in.
        !            54: .br
        !            55: .I Tac
        !            56: does not (and cannot efficiently) work on piped input.

unix.superglobalmegacorp.com

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