3 ms·
I hope not, because $empty is necessary when you actually want to elide a missing value, like Python's `filter`
by hgsgm 4y ago
I hope not, because $empty is necessary when you actually want to elide a missing value, like Python's `filter`
- rullelito 4y agoWhat a horrible language:x
- digitalsushi 4y agoIt's horrible but it's home for a lot of us.
- Already__Taken 4y agomore like holm for you.
- Spivak 4y agoThe parent I think is getting two things mixed up. [[ $var == "" ]] works as you describe and as expected. What the parent is talking about is when you have an invocation like my_program $opt my_program "$opt" Which when empty will evaluate to my_program my_program "" respectively.