• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 617
  • Last Modified:

Ksh - Error saying unmatched

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

XXX
.
.
.
$prg <<XXX

Error says
syntax error: '<<'unmatched
0
lcor
Asked:
lcor
1 Solution
 
TintinCommented:
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now