I have one file called abc.csv, its format is: aa,size:12bb,size:13cc,size:3I want to delete size: , and the file will become like this:aa,12bb,13cc,3Can anyone tell me how to use shell script to perform this task?
Linux shell script delete specific contents in file
linux;shell script
You can use sed easily for this task: sed -i -- 's/size://' abc.csvs/size:// is a simple regex that says replace size: with <blank>.