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 -
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
> > 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
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
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
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
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
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