Timothee wrote:
> as said in the title, I have suppress all comas in a lot of text files
> located in the same directory, all having the same name but with a different
> number at the end (year1, year2, year3, ...).
> 
> I'm sure this can be done very rapidly in bash but have no idea of how to
> write it!

This is easier done in 'sed' than in 'bash'.

  sed --in-place 's/,//g' *

Be sure to try it without the --in-place option to verify that it does
what you want before you fire it for effect!

Bob


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to