home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / cug / softt-11.lbr / CMP.DQC / CMP.DOC
Text File  |  1984-07-05  |  1KB  |  58 lines

  1. .bp 1
  2. .in 0
  3. .he 'CMP'03/06/78'CMP
  4. .fo ''-#-
  5. .fi
  6. .in 7
  7. .ti -7
  8. NAME
  9. .br
  10. cmp - compare two files
  11. .sp 1
  12. .ti -7
  13. SYNOPSIS
  14. .br
  15. cmp file1 [file2]
  16. .sp 1
  17. .ti -7
  18. DESCRIPTION
  19. .br
  20. File1 is compared line-by-line with file2.
  21. If any lines differ, cmp announces the line number and prints
  22. each file's offending line.
  23. .sp
  24. If only 1 filename is given, the standard input is used as
  25. file2.
  26. .sp 1
  27. .ti -7
  28. FILES
  29. .br
  30. None
  31. .sp 1
  32. .ti -7
  33. SEE ALSO
  34. .br
  35. diff, comm
  36. .br
  37. .sp 1
  38. .ti -7
  39. DIAGNOSTICS
  40. .br
  41. If the end of one file is reached before the end of the other, a
  42. message is printed.
  43. .sp 1
  44. .ti -7
  45. AUTHORS
  46. .br
  47. Original by Kernighan and Plauger, with
  48. minor modifications made by Debbie Scherrer (Lawrence Berkeley Laboratory).
  49. .sp 1
  50. .ti -7
  51. BUGS/DEFICIENCIES
  52. .br
  53. .sp 1
  54. Cmp cannot handle offset lines: line n of file1
  55. is simply compared to line n of file2.
  56.  
  57. Blanks are significant.
  58.