2010/7/9 Johny <johny.j...@cern.ch>: > On 07/09/2010 11:31 AM, Michael Wild wrote: >> >> On 9. Jul, 2010, at 11:24 , Johny wrote: >> >> >>> >>> Hi, >>> >>> I was working with the FILE(STRINGS filename lineList) and i discovered >>> that i end up getting a list which has a lesser number of strings than the >>> actual lines in the file. However this happens with only some files, i went >>> through those but they seem to be regular files. When i count the no of new >>> lines in the files i get the correct no of lines for the file. >>> >>> This has led me to believe that the FILE strings command is at fault >>> somehow. How does it work? >>> >>> Cheers! >>> Johny >>> >> >> Just an idea, but do these files contain mixed line endings (i.e. some >> lines end on \n, others on \r\n)? >> >> Michael > > nope i checked for that too. Its not the case
May be you can send us an example of such file ? It would be easier to investigate. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake