Hi guys,
I understand that eval will evaluate an expression and try to execute the returning command.
like
but if i use the following codeCode:x=ls eval $x #will display files/dir
still ls will get executed. so where lies the advantage of using eval? What are other situtations eval can be used in?Code:x=ls $x #will display files/dir
Thanks a lot for your replies in advance.