Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

String manipulation & file I/O

Name: Anonymous 2007-05-13 1:42 ID:a16QPoC4

I have a text file full of thousands of md5 hashes from around the interwebs but they are seperated with newlines.

I need to open the txt hash file, and write to another file but replacing every newline with nothing.

Possible languages: Perl, C++ or Visual Basic 6.

Name: Anonymous 2007-05-13 22:43 ID:UHeJtlXS

The proper way to deal with the OP is to question his motives.

Why would you want to remove newlines from the file? Either store the hashes in a text file with some sort of separator, or store them as pure binary. Not some kind of shit semi-text format.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List