Re: [dev] Focusing on windows by name

From: pancake <pancake_AT_youterm.com>
Date: Wed, 26 Oct 2011 20:26:32 +0200

I think [ "$foo" ] will work too. No need for -n. But yeah. Bashisms did lot of brain damage

On 26/10/2011, at 20:09, Rob <robpilling_AT_gmail.com> wrote:

> On 26 October 2011 14:51, Peter John Hartman <peterjohnhartman_AT_gmail.com> wrote:
>> I do something similar:
>>
>> if [[ $foo != "" ]]; then
>
> [ -n "$foo" ]
>
> if you're going for POSIX.
>
Received on Wed Oct 26 2011 - 20:26:32 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 26 2011 - 20:36:04 CEST