in reply to Re^3: Print to a file then use file content for test?
in thread Print to a file then use file content for test?

We told you how to fix two sources of differences. A third possibility is that the scripts you were using were different than the versions you showed us. (Yeah, I know you didn't do it on purpose if this is the case, but it's probably happened to all of us at some point.)

If it still doesn't work, we'll need to see the files. If you're afraid of losing hidden characters, you could always show the output of od -c miss.

Replies are listed 'Best First'.
Re^5: Print to a file then use file content for test?
by lcollins (Novice) on Jan 05, 2005 at 18:27 UTC
    I'll try the "od -c" please ignore the post that it worked on solaris box it didn't work on the solaris box either. Thanks
      For those interested Problem solved! Thanks The od -c did the trick. the first script wrote to the file with \r\n for line termination. I just had to add "s/\r//g;" after "while" to clear it up. Thanks for the od -c suggestion!!!!!!