Tuesday, 15 November 2011

Usage

comm reads two files as input, admired as curve of text. comm outputs one file, which contains three columns. The aboriginal two columns accommodate curve different to the aboriginal and additional file, respectively. The aftermost cavalcade contains curve accepted to both. This functionally is agnate to diff.

Columns are about acclaimed with the character. If the ascribe files accommodate curve alpha with the separator character, the achievement columns can become ambiguous.

For efficiency, accepted implementations of comm apprehend both ascribe files to be sequenced in the aforementioned band accumulating order, sorted lexically. The array (Unix) command can be acclimated for this purpose.
The comm algorithm makes use of the allegory arrangement of the accepted locale. If the curve in the files are not both aggregate in accordance with the accepted locale, the aftereffect is undefined.

No comments:

Post a Comment