{"id":15285815,"url":"https://github.com/sirwumpus/erlang-diff","last_synced_at":"2026-01-05T14:15:33.443Z","repository":{"id":57493691,"uuid":"90457000","full_name":"SirWumpus/erlang-diff","owner":"SirWumpus","description":"Erlang version of diff(1).","archived":false,"fork":false,"pushed_at":"2023-01-03T20:13:43.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T21:13:35.841Z","etag":null,"topics":["diff","erlang","file-comparison","posix"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SirWumpus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-06T11:01:39.000Z","updated_at":"2025-01-09T10:59:43.000Z","dependencies_parsed_at":"2023-02-01T09:30:37.045Z","dependency_job_id":null,"html_url":"https://github.com/SirWumpus/erlang-diff","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirWumpus%2Ferlang-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirWumpus%2Ferlang-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirWumpus%2Ferlang-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirWumpus%2Ferlang-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SirWumpus","download_url":"https://codeload.github.com/SirWumpus/erlang-diff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245168912,"owners_count":20571804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","erlang","file-comparison","posix"],"created_at":"2024-09-30T15:07:44.234Z","updated_at":"2026-01-05T14:15:33.403Z","avatar_url":"https://github.com/SirWumpus.png","language":"Erlang","readme":"Erlang diff(1)\n==============\n\n```\nusage: ediff [-d] file1 file2\n\n-d              write edit distance\n```\n\nDescription\n-----------\n\nThis is a functioning micro diff tool using an [O(NP) algorithm][Wu+89], compared to the older [O(ND) difference algorithm][Mye86] used by some versions of diff.  Its output is based on the default diff(1) output described by POSIX and [The Open Group Base Specifications][SUSV7].  The output is suitable for use with patch(1).\n\nThe -d option simply writes the edit distance between file1 and file2.\n\n\nReferences\n----------\n\nWu, Manber, Myers, and Miller; August 1989;  \n\"An O(NP) Sequence Comparison Algorithm\";  \n\u003chttp://myerslab.mpi-cbg.de/wp-content/uploads/2014/06/np_diff.pdf\u003e\n\t\nFowler, Noll, Vo; 1994  \n\u003chttp://www.isthe.com/chongo/tech/comp/fnv/index.html\u003e\n\nFowler, Noll, Vo on Wikipedia  \n\u003chttps://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function\u003e\n\n\"diff\", The Open Group Base Specifications Issue 7  \nIEEE Std 1003.1, 2013 Edition  \n\u003chttp://pubs.opengroup.org/onlinepubs/9699919799/utilities/diff.html\u003e\n\nEugene W. Myers; \"An O(ND) Difference Algorithm and Its Variations\";  \nAlgorithmica, 1986, pages. 251-266  \n\u003chttp://www.xmailserver.org/diff2.pdf\u003e\n\nWebb Miller and Eugene W. Myers; \"A File Comparison Program\";  \nSoftware-Practice And Experience, Vol. 15(11). 1025-1040 (November 1985)  \n\u003chttp://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.189.70\u0026rep=rep1\u0026type=pdf\u003e\n\nD.S. Hirschberg, \"A linear space algorithm for computing maximal common subsequence problem\";  \nComm. of ACM, Vol. 18, June 1975, pages 341-343  \n\u003chttp://www.mathcs.emory.edu/~cheung/Courses/323/Syllabus/DynProg/Docs/Hirschberg-LCS-1975.pdf\u003e\n\nWhich hashing algorithm is best for uniqueness and speed?  \n\u003chttp://programmers.stackexchange.com/questions/49550/which-hashing-algorithm-is-best-for-uniqueness-and-speed\u003e\n\n[Wu+89]: http://myerslab.mpi-cbg.de/wp-content/uploads/2014/06/np_diff.pdf\n\n[FNV94]: http://www.isthe.com/chongo/tech/comp/fnv/index.html\n\n[FNVWi]: https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function\n\n[Mye86]: http://www.xmailserver.org/diff2.pdf\n\n[SUSV7]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/diff.html\n\n[Mil85]: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.189.70\u0026rep=rep1\u0026type=pdf\n\n[Hir75]: http://www.mathcs.emory.edu/~cheung/Courses/323/Syllabus/DynProg/Docs/Hirschberg-LCS-1975.pdf\n\n[HshCmp]: http://programmers.stackexchange.com/questions/49550/which-hashing-algorithm-is-best-for-uniqueness-and-speed\n\n\nCopyright\n---------\n\nCopyright 2017 by Anthony Howe.  All rights reserved.\n\n\nMIT License\n-----------\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirwumpus%2Ferlang-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsirwumpus%2Ferlang-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirwumpus%2Ferlang-diff/lists"}