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

Re: avoid eval?



On 11/03/18 03:53 PM, Marc Chantreux wrote:
"$@" expands as an array and "$*" expands as a string so
func () cp oldfile "$*"

should probably do what you expect.

regards
marc

Thanks so it does.  I tried that and 50 other ideas.  I just now realized it was because I had $IFS=$'\n'

set in another function :-(  Cost me half the day.



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