Skip site navigation (1) Skip section navigation (2)

Re: When scripting, which is better?

From: "Ken Hirsch" <kenhirsch(at)myself(dot)com>
To: "Justin Clift" <justin(at)postgresql(dot)org>, "PostgreSQL Hackers Mailing List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: When scripting, which is better?
Date: 2001-10-01 14:59:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.

In response to

pgsql-hackers by date

Next:From: Ross J. ReedstromDate: 2001-10-01 15:02:15
Subject: Re: [HACKERS] [BUGS] PostgreSQL / PHP Overrun Error
Previous:From: Thomas SwanDate: 2001-10-01 14:42:56
Subject: Re: Bulkloading using COPY - ignore duplicates?

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group