Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f45MRPA10545 for ; Sat, 5 May 2001 18:27:25 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 52032 for ; Sat, 05 May 2001 15:27:22 -0700 From: "Josh Berkus" Subject: Need help with search-and-replace To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Sat, 05 May 2001 15:27:22 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200105/35 X-Sequence-Number: 2836 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