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

Re: path PATH




On 2023-01-25 10:34, Roman Perepelitsa wrote:
You can use [[ -z ]] for that.
     for name in ${(k)parameters}; do
       if [[ -z ${(P)name} ]]; then
         print -r -- $name
       fi
     done
Excellent, it beats grepping for various endings.
There is ‘scalar’, ‘array’, ‘integer’, ‘float’ or ‘association’. I
copied it straight from the docs.

Section?  I'd like to read up on that.  As usual the biggest problem is knowing where to look for stuff.  Thanks Roman.

...

Stop being quite so lazy Ray .... found it :-)







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