Sharan Basappa am Sonntag, 17. Dezember 2006 16:22: Hello
> While going through some of the old text files, which til now I thought > were in good shape, found > that some of the files were corrupt and contained garbage data. We need to know more; what garbage? Where in the file? Are the files corrupt because they were stored on for example old floppies? > I would > like to know if there is a > simple way to find this out using script since I have 100s of such files > and it is difficult for me to go through all these files .. What's garbage and what's not depends from the format of the file content, it's intended usage... Your task may be easy or nearly impossible to solve automatically. If there's a way to exactly separate garbage from non-garbage, and express this with means of a script language, it may be easy. Dani -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>