Hello again, Another question related to fish scripting. How can I set a value to a variable to be able to use it in `if`?
if test $myBool ... end I tried with 0/1 and true/false, but with no luck. As a workaround I can set/unset that variable and check with `if set -q myBool` or compare value with `-eq 0`, but I wonder if it is possible to just assign `true` or `false` to a variable? Marcin ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users