pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Joerdens <frank@joerdens.de>
To: pgsql-sql@postgresql.org
Cc: hank@fas-art.com
Subject: Re: importing data from Filemaker: weird newline characters
Date: Wed, 23 Jan 2002 15:58:18 +0100
Message-ID: <20020123155818.A17904@superfly.archi-me-des.de> (raw)
In-Reply-To: <20020123021406.A14752@superfly.archi-me-des.de>
References: <20020121174103.A5050@superfly.archi-me-des.de>
	<20020121232117.GC3201@rice.edu>
	<20020123021406.A14752@superfly.archi-me-des.de>

On Wed, Jan 23, 2002 at 02:14:06AM +0100, Frank Joerdens wrote:
> On Mon, Jan 21, 2002 at 05:21:17PM -0600, Ross J. Reedstrom wrote:
[ . . . ]
> > Where the ^K and ^M are actual control codes (generated in bash with 
> > ^I^K and ^I^M) should do it.

On my terminal it's Control-V, which is bound to Readline's quoted-insert
function (found that eventually). 

sed 's/^K/^M/g' old.csv > new.csv

does the trick now.

Thanks!
Frank



view thread (5+ messages)  latest in thread

Message-ID: <20020123155818.A17904@superfly.archi-me-des.de>
Permalink:  ../20020123155818.A17904@superfly.archi-me-des.de/
Also on:    postgresql.org/message-id/20020123155818.A17904@superfly.archi-me-des.de

 · 

reply

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-sql@postgresql.org
  Cc: frank@joerdens.de, hank@fas-art.com
  Subject: Re: importing data from Filemaker: weird newline characters
  In-Reply-To: <20020123155818.A17904@superfly.archi-me-des.de>

* 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