經安全檢測,此網站為安全網站,請放心前往原始網址!

How to check NULL in a string in Shell Script ? | Open Source Blog - Java,Python,Linux

Jan 3 How to check NULL in a string in Shell Script ? The following code snippet will tell whether a string is null or not . VALUE= if [ ! -n "$VALUE" ]; then echo "null"; else echo "String is not null" fi Posted 3rd January 2011 by Srikrishnan's Blog for

blogforopensource.blogspot.com

網址安全性掃描由 google 提供