Need help with search-and-replace - Mailing list pgsql-sql

From Josh Berkus
Subject Need help with search-and-replace
Date
Msg-id web-52032@davinci.ethosmedia.com
Whole thread Raw
Responses Re: Need help with search-and-replace  (Christopher Sawtell <csawtell@xtra.co.nz>)
List pgsql-sql
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
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Dateadd
Next
From: Tom Lane
Date:
Subject: Re: Dateadd