compressed file

i have a file 4d7a94d0.bbb.1292

when i do

file 4d7a94d0.bbb.1292

the ouput is below

4d7a94d0.bbb.1292: gzip compressed data - deflate method

and i run this command

gunzip -c 4d7a94d0.bbb.1292  | awk '{gsub("\"","")}/I_ACCOUNT_ID/{print $2}' RS=":|;" FS="," 

i get response
awk: syntax error near line 1
awk: illegal statement near line 1
is the problem the file format or what, since oit work on .gz files on ther systems

if you're on Solaris, use 'nawk' instead of 'awk'.
If so, RS on Solaris cannot be a regex - only a single character is allowed.

It worked,
each line end with ;
and the last field i want is displayed together with ;
but i dont want ; to be displayed

output is

12345;
23456;
23455;

i want

12345
23456
23455

without seeing a sample records with 'I_ACCOUNT_ID' it's hard to say...
You can pipe your 'awk' and: '| sed 's/;$//'