Search Results

Search: Posts Made By: paul99
19,600
Posted By paul99
zsh ternary operator syntax help
Hi,

Can someone give me an example of how to use zsh's ternary operator?

I tried:

# a=1
# c=( a ? "true" : "false" )

and got:

zsh: no matches found: ?

I'm running zsh 4.2 on ...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy