Article 5R9CS Difference between `eval set -- "$opts"` and the direct call `set -- "$opts"`

Difference between `eval set -- "$opts"` and the direct call `set -- "$opts"`

by
Faki
from LinuxQuestions.org on (#5R9CS)
What is the difference between

eval set -- "$opts"

and a direct call using

set -- "$opts"

Have seen `eval set -- "$opts"` being used quite frequently with `getopt`.latest?d=yIl2AUoC8zA latest?i=qONGPjw-JW0:H5nL0xYLzd8:F7zBnMy latest?i=qONGPjw-JW0:H5nL0xYLzd8:V_sGLiP latest?d=qj6IDK7rITs latest?i=qONGPjw-JW0:H5nL0xYLzd8:gIN9vFwqONGPjw-JW0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments