LWN.net Logo

lets end this now

lets end this now

Posted Jun 18, 2003 13:35 UTC (Wed) by lyda (guest, #7429)
Parent article: The amended SCO complaint

does anyone here have the system v source? this article has ideas on how to find any duplicated lines. essentially for EACH line of each file in a source tree compute the md5sum of it and the next four lines. the author recommends removing duplicate hashes witin a source tree, but it might be best not to. it could be improved - some quick and simple fixes could:

  • remove leadingi/trailing whitespace
  • change all tabs to spaces and turn multiple spaces in a row into a single space.
  • remove blank lines
  • it could fold cases.

anyway if someone has access to the unix system v source and could do these calculations it would be very helpful.


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds