On Mon, Oct 29, 2012 at 3:31 PM, Pierre J. <[email protected]> wrote: > You are right, they are not equal. > >> temp = Marshal.dump(ps) >> temp2 = Marshal.dump(ps) >> temp == temp2 > => false > > It seems the difference is at the end of the string. The first one > finishes with: > > "\x00\x1E\x19;\x160;\x17{\x00;\x18{\x00;\x19{\x00;\e{\x00;\x01\x80{\x00;\x01\x81F;\x01\x82F;\x01\x83F;\x01\x84F" > > The second one (temp2) finishes with: > > "\x00\x1E\x19;\x160;\x17{\x00;\x18{\x00;\x19{\x00;\e{\x00;+{\x00;,F;-F;.F;/F" > > I have to say it does not mean much to me. I have tried to "unpack" them > but I am not sure what I am doing and the results seem always the same.
I think we need to know more about what ps actually is. This looks like ps changes between invocations. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
