Re: When scripting, which is better? - Mailing list pgsql-hackers

From Ken Hirsch
Subject Re: When scripting, which is better?
Date
Msg-id OE53oE1pbzE3zLEuPB00000779b@hotmail.com
Whole thread Raw
In response to When scripting, which is better?  (Justin Clift <justin@postgresql.org>)
List pgsql-hackers
Justin Clift wrote:


> if [ x"$foo" = x"" ]; then

This is the safest way.  It prevents problems when $foo begins with with a
"-"

I don't know about your first question, though.



pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Preparation for Beta
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: [PHP] [BUGS] PostgreSQL / PHP Overrun Error