Xymon Mailing List Archive search

bb-prtdiag.sh

list Joe Sloan
Fri, 08 Feb 2008 13:47:04 -0800
Message-Id: <user-c3e5e39d1a57@xymon.invalid>

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