A question of indentation

Hi,

Using GNU indent(1) I tried to indent a C source file which has no indentation (all lines start at column 1). The result I am trying to achieve, should look like this with the exception that only tabs are used for indentation (no spaces). Unfortunately, I couldn't find the appropriate combination of indent(1) options so that the final result has only tabs, it also uses spaces. Is it possible to do that?

$ indent --version
GNU indent 2.2.9

Thanks!

Hi,

Try "unexpand" on the result of indent.

Regards