Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: script inserts \x00 bytes on WinXP

by dwhite20899 (Friar)
on Sep 06, 2008 at 01:59 UTC ( [id://709428]=note: print w/replies, xml ) Need Help??


in reply to Re: script inserts \x00 bytes on WinXP
in thread script inserts \x00 bytes on WinXP

graff:

I was only provided a snippet of the real input file; I don't know if I have the actual first two bytes of the file. I'll ask my friend about that.

What *should* happen to the output file is that another perl script is used to sort the lines by date/time for a different view of the data. My friend has looked at it with Notepad, Notepad2 and a hex editor, and he says it comes out of the undupe script padded with \x00 bytes.

My OSX passes the braindead test, so does my WinXP which is supposedly now set up the way his is. I'll send him that test, thanks!

3 copies - because I'm an idiot, and have RAM to burn. :-) That is a very nice way you did it. That should scale up nicely.

  • Comment on Re^2: script inserts \x00 bytes on WinXP

Replies are listed 'Best First'.
Re^3: script inserts \x00 bytes on WinXP
by Anonymous Monk on Sep 06, 2008 at 07:47 UTC
    Maybe he has funny stuff in PERL5OPT, try comparing set output and cross reference with perlrun
      He says he's not doing anything custom, and I believe him. D'oh! I'll ask him for his "set" output. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://709428]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-24 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found