File Compare

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Script error: No such module "about". Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".Template:Main other In computing, fc (File Compare) is a command-line program in DOS, IBM OS/2 and Microsoft Windows operating systems, that compares multiple files and outputs the differences between them.[1][2] It is similar to the Unix commands comm, cmp and diff.

History

The fc command has been included in Microsoft operating systems since MS-DOS 2.11 (e.g. on the 1984/85 DEC Rainbow release)[3] and is included in all versions of Microsoft Windows.[4] fc has also been included in IBM OS/2 Version 2.0.[5]

DR DOS 6.0 includes an implementation of the fc command.[6]

The command is also available in FreeDOS. This implementation is licensed under the GPLv2+.[7]

Functionality

fc can compare text files as well as binary files.[8] The latest versionsTemplate:Which can compare ASCII or Unicode text. The result of comparisons are output to the standard output. The output of fc is intended primarily to be human readable and may be difficult to use in other programs.

See also

References

Template:Reflist

Further reading

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

External links

Template:Sister project

Template:Windows commands

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Rainbow MS-DOS Version 2.11 Documentation : Digital Equipment Corporation October 1984
  4. MS-DOS and Windows command line fc command
  5. OS/2 2.0 Redbooks Volume 2 - DOS and Windows Environment (GG24-3731)
  6. DR DOS 6.0 User Guide Optimisation and Configuration Tips
  7. Script error: No such module "citation/CS1".
  8. FC - file compare - Windows CMD - SS64.com