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
Categories: Uncategorized
The two scripts look identical to me. I don’t know what you’re talking about!