Perhaps you should just grep the whole line, and then use tr,
instead of sed, for the actual fix?

$ for str in "MODE  =  standalone" "MODE=  standalone" "MODE  
=standalone"; do printf "$str\t>>\t"; printf "$str\n" | tr -d " "; 
done
MODE  =  standalone     >>      MODE=standalone
MODE=  standalone       >>      MODE=standalone
MODE  =standalone       >>      MODE=standalone

-- 
sobtw...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to