7 ms·Edit: line 4 should be `if string match -qv 0 $s`.by aarchi 6y agoEdit: line 4 should be `if string match -qv 0 $s`.