![]() |
|
|
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 |
| If statement - How to write a null statement | april | Shell Programming and Scripting | 3 | 04-16-2008 02:14 PM |
| IF statement on a df -g | hassanj | UNIX for Advanced & Expert Users | 1 | 12-18-2007 07:41 AM |
| write statement into one file | rinku | Shell Programming and Scripting | 5 | 06-25-2007 06:03 AM |
| Let statement in ksh HELP | bobo | UNIX for Dummies Questions & Answers | 3 | 01-12-2007 01:13 AM |
| if statement | Terrible | Shell Programming and Scripting | 4 | 08-19-2006 07:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to write an OR statement
Hi all,
I want to check if the first or the second or the third argument of call to a shell script is empty. How do i do that in a short way. I watched some examples and i believe if [ .$1 = . ] checks if an argument is NULL. If so, how can i add the checks for argument 2 and 3 in the statement? Thanks in advance Auke Quist |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|