![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sort command - strange behaviour | miwinter | UNIX for Advanced & Expert Users | 16 | 05-29-2008 04:19 AM |
| TEST command | amatuer_lee_3 | Shell Programming and Scripting | 4 | 05-09-2008 04:36 AM |
| a strange message when executing the sort command | marwan | UNIX for Dummies Questions & Answers | 3 | 04-27-2007 04:32 AM |
| the TEST command | marwan | UNIX for Dummies Questions & Answers | 2 | 04-23-2007 03:51 PM |
| Strange error message with regex test... | fgilain | Shell Programming and Scripting | 4 | 05-31-2006 06:52 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
test command looks strange...
I just ran into this today, and don't know what to make of it...
Code:
if test x$SERVER = x
then
echo $USAGE
exit 1
fi
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Quote:
Code:
if test "$SERVER" = ""
then
....
|
|
#3
|
|||
|
|||
|
hahahaha... of course, the obvious answer escapes me.
I didn't even think of it as concatenation till you mentioned that. Thank you |
|||
| Google The UNIX and Linux Forums |