In bash is if [ -z

In bash is if [ -z "$1" ] and if - Unix & Linux - Stack Exchange

瀏覽:422
日期:2025-04-29
7 Nov 2010 ... What is the difference between if [ -z "$1" ]. and if [ "$1" = "" ]. or are they the same ? I have found my self writing the second one in some scripts, ......看更多