![]() |
|
![]() | ||
|
Subject:
Comparing large files under FreeBSD..
Category: Computers > Programming Asked by: chris21-ga List Price: $10.00 |
Posted:
03 Jul 2002 13:50 PDT
Expires: 02 Aug 2002 13:50 PDT Question ID: 36290 |
I need to compare two textfiles on FreeBSD. The problem is: the files are 2 gig each. Diff gives me a "diff: memory exhausted". I have 20 gig of diskspace available for diff and the machine has 256Meg's of memory. Any ideas on what tool to use to compare these two files? (and not having to wait 72 hours for the result or something :). Any help is appreciated, Chris |
![]() | ||
|
Subject:
Re: Comparing large files under FreeBSD..
Answered By: rishel-ga on 03 Jul 2002 14:50 PDT |
Hi Chris21, cmp will compare the two files and output lines it find that differ to stdout. # cmp file1 file2 cmp is large file aware, and lucky for you can handle 2GB files. :) Feel free to ask for clarification if you need any. Related Links: http://docsrv.caldera.com/SM_basics/saT.lfs.html Search Criteria: cmp large files ://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=cmp+large+files | |
| |
|
![]() | ||
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |