|
|
1.1 ! root 1: .\" @(#)vhel4 6.1 (Berkeley) 4/25/86 ! 2: .\" ! 3: .NH ! 4: Information Handling ! 5: .LP ! 6: .sh SORT ! 7: Sort or merge ASCII files line-by-line. ! 8: No limit on input size. ! 9: .op ! 10: Sort up or down. ! 11: .op ! 12: Sort lexicographically or on numeric key. ! 13: .op ! 14: Multiple keys located by delimiters or by character position. ! 15: .op ! 16: May sort upper case together with lower into dictionary order. ! 17: .OP ! 18: Optionally suppress duplicate data. ! 19: .sh TSORT ! 20: Topological sort \(em converts a partial order into a total order. ! 21: .sh UNIQ ! 22: Collapse successive duplicate lines ! 23: in a file into one line. ! 24: .op ! 25: Publish lines that were originally unique, ! 26: duplicated, or both. ! 27: .op ! 28: May give redundancy count for each line. ! 29: .sh TR ! 30: Do one-to-one character translation according to ! 31: an arbitrary code. ! 32: .op ! 33: May coalesce selected repeated characters. ! 34: .op ! 35: May delete selected characters. ! 36: .sh DIFF ! 37: Report line changes, additions and deletions necessary to bring two files ! 38: into agreement. ! 39: .op ! 40: May produce an editor script to convert one file into another. ! 41: .op ! 42: A variant compares two new versions against one old one. ! 43: .sh COMM ! 44: Identify common lines in two sorted files. ! 45: Output in up to 3 columns shows lines present in first file only, ! 46: present in both, and/or present in second only. ! 47: .sh JOIN ! 48: Combine two files by joining records that have identical keys. ! 49: .sh GREP ! 50: Print all lines in a file that satisfy ! 51: a pattern as used in the editor ED. ! 52: .op ! 53: May print all lines that fail to match. ! 54: .op ! 55: May print count of hits. ! 56: .op ! 57: May print first hit in each file. ! 58: .sh LOOK ! 59: Binary search in sorted file for lines ! 60: with specified prefix. ! 61: .sh WC ! 62: Count the lines, ``words'' (blank-separated strings) and characters in a file. ! 63: .sh SED ! 64: Stream-oriented version of ED. ! 65: Can perform a sequence of editing operations on ! 66: each line of an ! 67: input stream of unbounded length. ! 68: .op ! 69: Lines may be selected by address or range of addresses. ! 70: .op ! 71: Control flow and conditional testing. ! 72: .op ! 73: Multiple output streams. ! 74: .op ! 75: Multi-line capability. ! 76: .sh AWK ! 77: Pattern scanning and processing language. ! 78: Searches input for patterns, and ! 79: performs actions on each line of input that satisfies ! 80: the pattern. ! 81: .op ! 82: Patterns include regular expressions, ! 83: arithmetic and lexicographic conditions, ! 84: boolean combinations and ranges of these. ! 85: .op ! 86: Data treated as string or numeric as appropriate. ! 87: .op ! 88: Can break input into fields; ! 89: fields are variables. ! 90: .op ! 91: Variables and arrays (with non-numeric subscripts). ! 92: .op ! 93: Full set of arithmetic operators and control flow. ! 94: .op ! 95: Multiple output streams to files and pipes. ! 96: .op ! 97: Output can be formatted as desired. ! 98: .op ! 99: Multi-line capabilities.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.