![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Test variable | javeed7 | Shell Programming and Scripting | 2 | 04-19-2008 07:59 PM |
| how to check null variable | sachin.gangadha | Shell Programming and Scripting | 2 | 12-06-2007 04:59 PM |
| check for NULL variable | esham | Shell Programming and Scripting | 2 | 03-20-2005 03:31 AM |
| How to filter a null variable. | gio123bg | Shell Programming and Scripting | 1 | 12-19-2003 10:54 AM |
| PERL: how to tell if variable is NULL | dangral | Shell Programming and Scripting | 4 | 03-19-2003 01:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
test Null variable
hi forum
i beginning with script and i want test un null variable in a schell i just don t know the syntax here is a litle example y=test echo $y unset y echo $y (so here Y = Null) if Y=Null then echo "y is null" exit fi i have try if [ !$y ] but i have the error test: argument expected |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|