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