Ksh - Error saying unmatched

I have a ksh script that keeps bombing at the following lines:

XXX
.
.
.
$prg <<XXX

Error says
syntax error: '<<'unmatched
lcorAsked:
Who is Participating?
 
TintinConnect With a Mentor Commented:
It probably means your HERE doc isn't terminated correctly.

You need to make sure you have

$prg <<XXX
..
..
XXX


Make sure the terminating XXX has no space before or after it.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.