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

Re: delay argument interpretation



Bart Schaefer wrote:
>    show () {
>        show=() 
>        show=($~*) 
>        print -rc $show
>    }
>    alias show='noglob show'

Why?  What's wrong with

function show {
  show=("$@")
  print -rc -- "$@"
}

-zefram



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