convert tabs to spaces, the easy way

Lots of times you want to convert tabs to spaces and sometimes from a shell script, if that is the case, then simple solution is “tidy“. First you need to install tidy as follows:

sudo yum install tidy

and then you can use the command tab2space.

tab2spcae

This will print the output to STDOUT by default which you can redirect if you want.

 

Enhanced by Zemanta

Firefox 4.0 mockups for LInux/Windows and Mac

The link above will take you to the Mozilla wiki for the UI and theme mockups for the Firefox 4.0 release. Quite interesting but what I did not like is that the Linux mockup looks more like chrome. Not sure why mozilla would want to do that 🙂
  • Tabs-on-top: Defaut tabs to top of UI.
  • Hiding the Menu Bar: Hide the menu bar and add Page and Tools buttons.

The post is brought to you by lekhonee-gnome v0.9

\"Reblog