[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] String-Vergleich in einem Skript



On Sat, 25 Jan 2003, Yevgen Reznichenko wrote:

> if test -n $IP ; then
> 	echo "IP Konfiguriert"
> fi
>
> [...]
>
> Wie kann ich das Problem beheben.

| if [ x$IP != x ]; then
|     echo "IP = $IP"
| fi

Damit müsste es eigentlich klappen ...

    Gruß, Markus

-- 
There are three ways to get something done:
(1) Do it yourself.
(2) Hire someone to do it for you.
(3) Forbid your kids to do it.

Attachment: pgpkE09q9FibS.pgp
Description: PGP signature


Reply to: