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

Thanks for the input I'll make those corrections. Any ideas on the difference between a file I write and one generated by my first script?
  • Comment on Re^3: Print to a file then use file content for test?

Replies are listed 'Best First'.
Re^4: Print to a file then use file content for test?
by ikegami (Patriarch) on Jan 05, 2005 at 15:23 UTC

    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.

      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!!!!!!