From: Tena Sakai <tsakai@gallo.ucsf.edu>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Gabriele Bartolini <gabriele.bartolini@2ndquadrant.it>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: What is field separator?
Date: Mon, 31 May 2010 22:29:51 -0700
Message-ID: <C829E8DF.AF45%tsakai@gallo.ucsf.edu> (raw)
In-Reply-To: <1275364687-sup-2201@alvh.no-ip.org>
Thank you, Alvaro.
Literal tab, that's one thing I never tried.
Yes, it works.
Regards,
Tena Sakai
tsakai@gallo.ucsf.edu
On 5/31/10 8:58 PM, "Alvaro Herrera" <alvherre@commandprompt.com> wrote:
> Excerpts from Tena Sakai's message of lun may 31 21:36:41 -0400 2010:
>
>> But when I do this:
>> $ echo "select marker, p, afreq from gallo.fbat_sdsdecode limit 10" | \
>>> psql -P 'format=unaligned' -P 'fieldsep=\t' -t -f - musket
>> (here the only change from the previous is the specification of fieldsep)
>> Then I get:
>> RS3094315\t0.578121\t0.735
>
> Use a literal tab. You can enter this in decent shells with Ctrl-V followed
> by a tab.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tsakai@gallo.ucsf.edu, alvherre@commandprompt.com, gabriele.bartolini@2ndquadrant.it
Subject: Re: What is field separator?
In-Reply-To: <C829E8DF.AF45%tsakai@gallo.ucsf.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox