Why does ksh allow unpaired quotes while bash does not?

Viewed 249

When I execute following command, on bash shell I get error but on Korn shell it runs perfectly fine. The only difference is missing single quote at the end of awk, after }. Could you help me understand why?

echo `echo "a b c d" | awk '{ print $1 }`
1 Answers
Related