in reply to Re: Re: Re: Re: inconsisntency, if, expect, logs
in thread inconsisntency, if, expect, logs

Does $|++; at the top of your script make any difference? Are you using 5.8 from sunfreeware.com, compiled yourself or a sun package? I have compiled my self and used sunfreeware all over the place and not seen this before. There has to be something wierd going on here this is not normal. also could you try a cat -v <filename> on that output file and see if there are any wierd characters in the /bin/sh line?

-Waswas

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: inconsisntency, if, expect, logs
by jcpunk (Friar) on Jun 13, 2003 at 19:46 UTC
    the $|++ solved it, out of blind ignorance might I inquire as to what that does?

    in regards to the package it was compiled by a former sysadmin here from source and then she turned it into a solaris package. so i am inclined to point to that as faulty.... unfortunatly i do not have the ability to get it changed, politics....

      $|++ turns off buffering, congrats, now with a working if statment from the other post below you should be good 2 go.

      -Waswas
        indeed, i thank you for your time good sir