Andrew Dunstan <and...@dunslane.net> writes:
> The trouble with uname -s is that its output is a bit variable. I think 
> this will work:

>      testhost=`uname -a | sed 's/.* //'`

What do you mean by "a bit variable"?  And why would that fix it?  The
output of -a is *defined* to be the same as -s followed by other stuff.
The reference page I'm looking at also points out that the -s string
can contain embedded blanks.

                        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to