On Apr 8, 2004, at 1:01 PM, [EMAIL PROTECTED] wrote:
Does anyone have a one liner using perl, awk or sed that will insert "mb"
between the "6" and "f" ?
For example, 144.06 free
There's probably a shorter way but I have: $str = '144.06 free'; $str =~ s/6.*?free/6mb free/si; print $str;
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>