[GENERAL] echo

2017-02-24 Thread Moreno Andreo
Excuse me... I was not receiving email from the list in the last 12 hours just to check.. Thanks -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] "echo"ing a psql command in a bash script

2004-09-05 Thread Ennio-Sr
* Jim Wilson <[EMAIL PROTECTED]> [030904, 14:39]: > Ennio-Sr said: > > > (once for all): > > cmnd=echo psql mydb -x -c "SELECT * FROM tb_nm WHERE $col_nm LIKE '%$k_r%'" > > That will be executed immediately, and give you an error. In fact, yes, you're right! it gives ...but after the second Ent

[GENERAL] "echo"ing a psql command in a bash script

2004-09-02 Thread Ennio-Sr
Hi all! I'm writing a script that presents the user with a numbered lines menu, each line corresponding to a which executes a psql command. As the psql-commands are very similar to each other (all of them have the structure: 1.- psql mydb -x -c "SELECT * FROM tb_nm WHERE col_nm LIKE '%$k_r%'" )