Thank U i have used the gsub in a gawk command and its OK
but now I am trying to save the modif of selected lines in the source file not in a new file (I've tried to use print "$0" >> filename but it puts the new lines in the end of the file)
gawk /^VDD/'{
getline;getline;v=split($2,tab,"1V8_") ;if ($1=="|" && v!=1)
{
getline;getline;str=$0;gsub(/ERROR/,"warning",str) ;
print str >> "checkSupply"
}
}'