in reply to Re: Help with number conversion
in thread Help with number conversion
UPDATE: Just wanted to expand on this, when I first started I focused primarily on the second form. For three reasons a) I had a small disk quota b) I did not know how to optimize for the first (and still am not great at it) c) I thought this was optimizing for the first. I figured "the smaller the source the less in memory, the less to handle etc. etc." Which is all of course mostly irrelevant. Insert bit about premature optimization here. Thought this might be some interesting background into how some approach things.
--
perl -pe "s/\b;([st])/'\1/mg"
|
|---|