Hi,
I have a file with data listed below:
I want output to be
So replace double by string if the field contains the word _id
I tried
The above will not delete double.
I can add one more comand and delete double, but I want to do it in same command if possible
Thanks
I have a file with data listed below:
Code:
clm_id double,
cnl_id double,
cnl_amt double
Code:
clm_id string,
cnl_id string,
cnl_amt double
I tried
Code:
sed -e 's/_id/& string/' filename
I can add one more comand and delete double, but I want to do it in same command if possible
Thanks
Moderator's Comments: | ||
|