IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Senses EOF
Plus you can't just assume 0D 0A is a line feed in binary file.
-drl
New That's it exactly.
There's no way of telling which OD OA's shouldn't be like that.
Hmmm... well it was a .Z file. So I wrote something that said

Strip off the superflous character.
Can we uncompress the file past that point now?
If so, tops.
If not, put it back, look for the next one.

But I'm sure by the time I wrote that the tape backup would have arrived.
Two out of three people wonder where the other one is.
New ($your_script)!
As in factorial. You'd have to try every possible combination of removing characters. Which is the number of potentially bad characters factorial. (Or is it 2 to the power of ... )
===

Implicitly condoning stupidity since 2001.
New Not sure it'd need every possible combination
But I'm unsure of how much error checking uncompress done when uncompressing.

Frinstance, when I ran uncompress on the corrupted file, it gave me the first 70 characters or so, quite correctly, until it returned a 'file corrupted' messages. Which lead me to think uncompress knows when it's bad, so I could make it good, and let it continue on to the next error.

I wasn't going use this woolly thinking as the means to turn my script into reality, however! :)
Two out of three people wonder where the other one is.
     FTP - recover from a mistaken ASCII mode transfer? - (Meerkat) - (7)
         sorry! - (deSitter) - (6)
             Ta - I think they used Reflection's FTP client. - (Meerkat) - (5)
                 Might be, not sure. - (broomberg) - (4)
                     Senses EOF - (deSitter) - (3)
                         That's it exactly. - (Meerkat) - (2)
                             ($your_script)! - (drewk) - (1)
                                 Not sure it'd need every possible combination - (Meerkat)

Even the hydrocoptic marzelvane came up with a null...
39 ms