I have file which has some data as below
cell input out type fun
AI20 A1,A2 Z comb 0 ,((A1,A2))
So when ever there is starting 0 in fun column I want to remove that 0 ,
So my output as
cell input out type fun
AI20 A1,A2 Z comb ((A1,A2))
I tried code
awk '$5~/^0/ {sub(/0 ,/,"",$5)} 1' file
But this didn't worked.