On Tue, 2008-06-10 at 10:44 -0700, Patrick Horgan wrote:
> In the original K & R C book there was an exercise to build entab and
> detab programs--easy to do with FSM.  I bet if you search with google
> you can find a million of them. (Perhaps a million and seventeen).

If that's all you want a trivial perl script will do as well:

        perl -pe 's/^        /\t/'

(untested).  This is good enough for make, which only cares about the
first character on the line.



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to