public class Cat extends java.lang.Object
For additional documentation, see Section 1.1 of Algorithms, 4th Edition, by Robert Sedgewick and Kevin Wayne.
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Reads in a sequence of text files specified as the first command-line
arguments, concatenates them, and writes the results to the file
specified as the last command-line argument.
|
public static void main(java.lang.String[] args)
% more in1.txt This is % more in2.txt a tiny test. % java Cat in1.txt in2.txt out.txt % more out.txt This is a tiny test.