Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: why is eval needed?



On Sat, Nov 19, 2022 at 3:35 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
>  In a script:
>
> local level='-L 2'
> tree $level

With the default options this this the same as this:

    tree '-L 2'

Is it clear why it doesn't work?

Roman.




Messages sorted by: Reverse Date, Date, Thread, Author