Re: if variable is not set....1997-07-13 05:08:00At 12:45 AM 7/13/97 -0400, Timothy Luoma wrote: Perhaps I'm just too sleepy to figure this out, but how can I do this: if [ "$VAR1" = "" ] then OTHERVAR=x else OTHERVAR=y fi Perhaps I should finish my first cup of coffee first, but I think you just need something like: :0 * VAR1 ?? ^^^^ { OTHERVAR=x } :0E { OTHERVAR=y } Cheers, Stan
|
|