Help with awk script

From: Atif Jung <atifjung(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Help with awk script
Date: 2010-04-20 10:44:06
Message-ID: g2vd1c6b9c51004200344w70b065a4vd385932f0253a260@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Can anyone help with the following:

Using awk I need to replace every occurance of single quote with a double
quote in the string IN ('x','y','z',......). There can be any number of
elements in single quotes in between the brackets.

IN ('x','y','z'',...) -> IN ("x","y","z",....)

Thanks

Atif

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Glus Xof 2010-04-20 14:17:24 Specific Database Vars
Previous Message machielr 2010-04-19 09:55:34 Re: Calculating database sizes using a script