[02:01] <thumper> anyone have sed foo?
[02:01] <thumper> of sed fu?
[02:02]  * ibeardslee has used it
[02:02] <thumper> I want to replace some strings in a shed load of files in a whole pile of directories
[02:02] <thumper> s/DEBUG:/DEBUG/g
[02:02] <thumper> over a lot of files
[02:02] <ibeardslee> ohhh .. something I've done(ish)
[02:04] <snail> thumper: you want to use a perl one liner, which an in place option i believe
[02:04] <thumper> perl is fine
[02:04] <ibeardslee> for F in *.*; do sed -i s/DEBUG:/DEBUG/ $F; done
[02:04] <ibeardslee> that should do all files in one directory
[02:04] <thumper> ibeardslee: recursively over files?
[02:04] <thumper> find . -name "*.py" | xargs ... ?
[05:11] <lifeless> xargs -n1 ...
[06:31] <ojwb> lifeless: there's no need for -n1 - all that'll serve to do is make it take longer...
[06:36] <lifeless> ojwb: depends on your sed, I think :)
[06:39] <ojwb> perhaps, i'd tend to use perl there myself, but I'm pretty sure GNU sed has been like that for some time
[18:57] <Atamira> mornin
[19:07] <ibeardslee> morning
[19:12] <Atamira> beautiful day here today
[19:12] <Atamira> ive been told it might be a tad windy down your way
[19:17] <ibeardslee> beautiful and still at the moment .. forgot to bring the camera into get a photo of the pōhutakawa I can see out the window
[19:18] <ibeardslee> it looks even more stunning with the blue sky int he background and the sun bringing out the red and gree
[19:20] <ajmitch> morning
[20:31] <snail> howdy all