2009/9/17 erik quanstrom <quans...@quanstro.net>: > i don't know why this can't be done with sed. if the > task is to just change the second field without messing > with whitespace, why doesn't this work
indeed. i did the same thing (see previous post, except i've just noticed that i forgot the ^ at the start of the regex). BTW, no need for the g flag, i think.