Purpose | Argument | Streams | Usage | Examples | Related
Use the DUPLICATE stage to write each input record in addition to the specified number of copies of each input record. DUPLICATE reads records from its primary input stream and writes records to its primary output stream, if it is connected. It does not discard null input records.
input.txt (input)
...|...+....1....+....2....+....3....+....4.... **** Top of file **** 1 Name........... Address................. **** End of file ****
output.txt (output)
...|...+....1....+....2....+....3....+....4.... **** Top of file **** 1 Name........... Address................. 2 Name........... Address................. 3 Name........... Address................. 4 Name........... Address................. 5 Name........... Address................. 6 Name........... Address................. **** End of file ****
console:
Row Row Your boat Your boat