compare two sorted files line by line


SUBMITTED BY: Guest

DATE: June 2, 2014, 1:44 p.m.

FORMAT: Text only

SIZE: 1.2 kB

HITS: 5808

  1. NAME
  2. comm - compare two sorted files line by line
  3. SYNOPSIS
  4. comm [OPTION]... FILE1 FILE2
  5. DESCRIPTION
  6. Compare sorted files FILE1 and FILE2 line by line.
  7. With no options, produce three-column output. Column one contains lines unique to FILE1, column two contains lines unique to FILE2, and column three contains lines common to both files.
  8. -1
  9. suppress lines unique to FILE1
  10. -2
  11. suppress lines unique to FILE2
  12. -3
  13. suppress lines that appear in both files
  14. --help
  15. display this help and exit
  16. --version
  17. output version information and exit
  18. AUTHOR
  19. Written by Richard Stallman and David MacKenzie.
  20. REPORTING BUGS
  21. Report bugs to <bug-coreutils@gnu.org>.
  22. COPYRIGHT
  23. Copyright © 2004 Free Software Foundation, Inc.
  24. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  25. SEE ALSO
  26. The full documentation for comm is maintained as a Texinfo manual. If the info and comm programs are properly installed at your site, the command
  27. info coreutils comm
  28. should give you access to the complete manual.

comments powered by Disqus