[hobbit] Re: bb-prtdiag.sh

Sloan joe at tmsusa.com
Fri Feb 8 22:47:04 CET 2008


Robert McGraw wrote:
> Kirbach Uwe <U.Kirbach at ...> writes:
>
> Ref the following awk errors generated in bb-prtdiag.sh V4_10
>
>
>   
>>   awk: syntax error near line 1
>>   awk: bailing out near line 1
>>     
>
> I see where the error is being generated in bb-prtdiag.sh but the
> AWK command input is rather intimidating and I am not a big AWK
> type person.
>   

LOL dying at line 1? Let me guess, the file was created or edited on a
windoze pee cee...

If that is the case, you'll need to run the script through dos2unix to
remove the foreign line endings.

Joe




More information about the Xymon mailing list