What does eval set do?

What does eval set do?
Answer
The set command takes any arguments after the options (here “–” signals the end of the options) and assigns them to the positional parameters ($0.. $n). The eval command executes its arguments as a bash command. If you do this without the eval command you’ll get the same result as the first example.
 

Tìm kiếm

Back
Top