expand4 - expand tabs to 4 spaces
expand4 [-t tabsize] <file> [...]
-t tabsize Set the tab size to tabsize. The default is 4 spaces.
expand4 uses `expand -t tabsize' to make a temp file with tabs in the target file replaced by spaces. It then substitutes the temp file for the original. This cmd is handy if you use tabs of other than 8 spaces in your code development or other files and wish to read them with cmds like cat.
WARNING: Note that tabs are significant in some few files in which case the resultant file will NOT satisfy the requirements of the original. This includes args embedded in some code.