Operating System - HP-UX
1834007 Members
2025 Online
110063 Solutions
New Discussion

error meaning - awk: syntax error near line 1

 
Henry Chua
Super Advisor

error meaning - awk: syntax error near line 1

Hi guys

I seems to get this error very often

awk: syntax error near line 1
awk: bailing out near line 1

when using awk.. what is causing this?

thanks
Henry
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: error meaning - awk: syntax error near line 1

What is the data or command line you are feeding into awk.

Most likely the error is what it appears to be bad syntax.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Isralyn Manalac_1
Regular Advisor

Re: error meaning - awk: syntax error near line 1

Hi Henry,

It is a syntax error as what the output suggested. Would you mind posting the command or that specific entry in the script that's erring? Thanks.

Regards,

Isralyn