[Nottingham] Quick! I need a bash one liner!

Alan Pope alan.pope at gmail.com
Tue Feb 1 16:25:16 GMT 2005


On Tue, 1 Feb 2005 15:31:02 +0000, Michael Erskine <msemtd at yahoo.co.uk> wrote:
> Hi all,
> 
> I'm fixing up some old C code and I want to expand the tabs in all the
> files...

I use

tr '\t' '  '

to convert tabs to two spaces. 

Cheers,
Al.



More information about the Nottingham mailing list