Time and time again, I see Bash answers on Stack Overflow using eval and the answers get bashed, pun intended, for the use of such an "evil" construct. Why is eval so evil?

If eval can't be used safely, what should I use instead?

Edit
Report