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

Re: associative array questions




On 2022-12-11 13:41, Bart Schaefer wrote:

Bart:

I'm experimenting with your suggestions:

${(P)list::="tea for two"}

... and I get the 'command not found: 'tea for  two' ' message. Rather silly but:

echo ${(P)list::="tea for two"} > /dev/null

... and the real application works fine. The assignment happens and there's no looking for a command.









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