The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
no value in variable
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
no value in variable
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
08-29-2008
spirtle
Registered User
Join Date: Jun 2008
Location: Scotland
Posts: 150
Either use a string comparison
Code:
if [ "$Noupdated" == "0" ]
or test for the variable
Code:
if [ -n "$Noupdated" ] && [ $Noupdated -eq 0 ]
spirtle
View Public Profile
Find all posts by spirtle
Find spirtle's past nominations received
Find spirtle's present nominations given