need help with csh

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема need help with csh
Дата
Msg-id 361673BC.4F2D5ED@alumni.caltech.edu
обсуждение исходный текст
Ответы Re: [HACKERS] need help with csh
Список pgsql-hackers
I'm trying to fix up initlocation to accept an environment variable as
an input parameter (in addition to the absolute path name it already
accepts).

I'd like to be able to say:

  setenv PGDATA2 /home/postgres/data
  initlocation PGDATA2

However, initlocation sets a local variable PGALTDIR to the input
argument as the program starts, and I'm fumbling around trying to
evaluate the contents of PGALTDIR as an environment variable.

(So, I need PGALTDIR -> PGDATA2 -> /home/postgres/data, and to assign
the path name back to a local variable.)

Anyone know how to do this? Please??

TIA

                   - Tom

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Re: [BUGS] bug in "fetch" command?
Следующее
От: Terry Mackintosh
Дата:
Сообщение: Dumping of views -- done!