in reply to Substitution in a file
One other thing I've just noticed. Do you really want to replace the string 'total_bytes' with two double quotes or do you want to replace it with an empty string? If it's the latter, then you should use:
--s/total_bytes//ig;
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
|
|---|