This is the answer to excercise 5-12 in <The C Programming Language>
detab : replace tabs in the input with the proper number of blanks to space to the next tab stop
entab: replace strings of blanks by the minimum number of tabs and blanks to achieve the same spacing.
This version acquire command line parameters -m and +n which means tab stops every n columns, starting at column n.