help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing separator stop <- looking to quickly solve that


From: Paul Smith
Subject: Re: missing separator stop <- looking to quickly solve that
Date: Tue, 10 Jun 2008 14:11:26 -0400

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]