Results 1 to 2 of 2
Thread: help with sed
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2005
help with sed
sed 's/ .0/0.0/g'
but it doesnt properly work. It changes 0.* to 0.0.* as well! Is there something im missing? Is there a proper way of specifying blank spaces?
Thanks in advance
you need to escape the first '.', other wise it matches "any character"
sed 's/ \.0/0.0/g'Regards Scienitca (registered user #335819 - http://counter.li.org )
A master is nothing more than a student who knows something of which he can teach to other students.