Removing tabs ....

Kurt Wall kwall at kurtwerks.com
Thu Apr 16 18:54:48 PDT 2009


On Thu, Apr 16, 2009 at 01:00:21PM -0500, Ben Duncan wrote:
> I have a text file with TABS in it. Is there a way to
> remove the tabs whist keeping the visual text alignment ?

sed -i 's/\t/        /g' FILE

That's eight spaces between the last two "/"s.

Kurt
-- 
I need another lawyer like I need another hole in my head.
		-- Fratianno



More information about the Linux-users mailing list