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

Michael Erskine msemtd at yahoo.co.uk
Tue Feb 1 15:45:57 GMT 2005


On Tuesday 01 February 2005 15:40, Johannes Kling wrote:
> bash$ sed -i -e 's/\t/    /g;' *.[ch]

Good call, but substituting all tabs for four spaces isn't what expand -t 4 
will do since expand compensates for real tabstops!

Regards,
Michael.

-- 
Machines take me by surprise with great frequency.
- Alan Turing



More information about the Nottingham mailing list