Re: [BUGS] psql -F problems

2003-03-03 Thread Hubert depesz Lubaczewski
On Mon, Feb 24, 2003 at 11:19:18AM -, Llew Sion Goodstadt wrote: > Most shells allow you to enter in a tab easily. In bash, you need to > type control-V followed > by a tab. I.e. type -F ", followed by the Control-V/tab key sequence and > the closing double quote. i know. i can even do: psql -

Re: [BUGS] psql -F problems

2003-03-03 Thread Hubert depesz Lubaczewski
On Thu, Feb 27, 2003 at 05:35:56PM -, Llew Sion Goodstadt wrote: > Very curious now. So how would you enter the tab on the command line for > sed? with ctrl-v ctrl-tab. YES. i know it is possible to enter tab character itself. and yes - i can work without it. yet - i still belive that allowin

Re: [BUGS] psql -F problems

2003-02-27 Thread Llew Sion Goodstadt
> > Most shells allow you to enter in a tab easily. In bash, > you need to > > type control-V followed by a tab. I.e. type -F ", followed by the > > Control-V/tab key sequence and the closing double quote. > > i know. i can even do: > psql -c "something" -F "something_weird" | sed > 's/someth

Re: [BUGS] psql -F problems

2003-02-24 Thread Llew Sion Goodstadt
Most shells allow you to enter in a tab easily. In bash, you need to type control-V followed by a tab. I.e. type -F ", followed by the Control-V/tab key sequence and the closing double quote. Llew ---(end of broadcast)--- TIP 2: you can get off all

Re: [BUGS] psql -F problems

2003-02-23 Thread Peter Eisentraut
Hubert depesz Lubaczewski writes: > i belive this kind of information - given from command line - should be > parsed again in psql itself - just like it is parsed when you enter > something at psql prompt. The command line parser inside psql works pretty much like a Unix shell. That means quoting

Re: [BUGS] psql -F problems

2003-02-22 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Hubert depesz Lubaczewski writes: >> this is usually true, but if i'll try to use "tab" as field separator, i >> cannot enter it like this: >> psql -c "something" -A -t -F '\t' >> it just returns fields separated by literally '\t', and not by tab-space

Re: [BUGS] psql -F problems

2003-02-22 Thread Peter Eisentraut
Hubert depesz Lubaczewski writes: > this is usually true, but if i'll try to use "tab" as field separator, i > cannot enter it like this: > psql -c "something" -A -t -F '\t' > it just returns fields separated by literally '\t', and not by tab-space > character. This command is parsed by the shell

[BUGS] psql -F problems

2003-02-22 Thread Hubert depesz Lubaczewski
hi according to docs -F parameter given to psql is equivalent to \f or \pset fieldset in psql itself. this is usually true, but if i'll try to use "tab" as field separator, i cannot enter it like this: psql -c "something" -A -t -F '\t' it just returns fields separated by literally '\t', and not by