From: Josh Berkus <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Subject: Need help with search-and-replace
Date: Sat, 05 May 2001 15:27:22 -0700
Message-ID: <web-52032@davinci.ethosmedia.com> (raw)
Folks,
I need to strip certain columns out of my pgdump file. However, I
can't figure out how to use any Unix-based tool to search-and-replace a
specific value which includes a tab character (e.g. replace "{TAB}7
00:00:00" with "" to eliminate the column).
RIght now, I'm copying the file to a Win32 machine and using MS Word
for the search-and-replace, but I'm sure there's got to be a better way
... *without* learning VI or Emacs. Help?
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: Need help with search-and-replace
In-Reply-To: <web-52032@davinci.ethosmedia.com>
References: <web-52032@davinci.ethosmedia.com>
* 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