Home > Uncategorized > Irritating “<< Unmatched" error in Unix shell

Irritating “<< Unmatched" error in Unix shell

"<< Unmatched" error was irritating me but finally I found it.

# Some space after first column (This was giving error)

rman target / <<EOF

catalog archivelog ‘/arclocation/1_${archno}_777.arc’;

exit;

EOF

I changed it to following and it works like a charm.

Please note that there is no space after first column of the line.

# No space after first column. (Works like a charm)

rman target / <<EOF

catalog archivelog ‘/arclocation/1_${archno}_777.arc’;

exit;

EOF

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: