want to pattern match using awk

Hello Friends,

My script gives an output like below:- but i only want the red part to be displayed. how to i do that. I am enclosing my shell script after that.

id='CCRCWebServerINSTALLDIR'
id='AdministrationTools-CINSTALLDIR'
id='AdministrationTools-ent-CINSTALLDIR'
id='AlbdServer-CINSTALLDIR'
id='Integration-CINSTALLDIR'
id='ClientComponentsINSTALLDIR'
id='Converters-CINSTALLDIR'
id='CoreComponents-CINSTALLDIR'
id='DotNetClient'
id='ExplorerIntegration-CINSTALLDIR'
*****************************************************
The acutal output

id='CCRCWebServerINSTALLDIR'
id='AdministrationTools-CINSTALLDIR'
id='AdministrationTools-ent-CINSTALLDIR'
id='AlbdServer-CINSTALLDIR'
id='Integration-CINSTALLDIR'
id='ClientComponentsINSTALLDIR'
id='Converters-CINSTALLDIR'
id='CoreComponents-CINSTALLDIR'
id='DotNetClient'
id='ExplorerIntegration-CINSTALLDIR'

************************************************8
Script
#!/bin/sh

ECHO=/bin/echo
CAT=/bin/cat
LS=/bin/ls
AWK=/bin/awk
GREP=/bin/grep

FIX_XML_PATH=/home/administrator/testfix/fix
FIX_FILE=`$LS $FIX_XML_PATH | $GREP xml`

#$ECHO $FIX_FILE
$CAT $FIX_XML_PATH/$FIX_FILE | $GREP id | $AWK '{if($2 ~ /id=/) print $2}'

Try :

awk -F"'" '$1 == "id=" {print $2}' $FIX_XML_PATH/$FIX_FILE'

Jean-Pierre.

Or you can remove them by piping your awk output to sed (more generic if you're input doesn't always start with "id="):

$AWK ..... | $SED "s/'//g"

(don't forget to define SED=/bin/sed!)

Thanks that worked.

-Adi