[Top][All Lists]

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

Re: [PATCH] test defs: add subroutine for input unindenting

From: Ralf Wildenhues
Subject: Re: [PATCH] test defs: add subroutine for input unindenting
Date: Tue, 1 Mar 2011 06:12:22 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

* Peter Rosin wrote on Mon, Feb 28, 2011 at 10:01:35PM CET:
> Den 2011-02-28 21:36 skrev Ralf Wildenhues:
> > It would be nice your sed script would allow sed scripts like
> >   s/#//
> >   s/ #//
> > 
> > to continue to work.  But if they don't, for now, that's not a big
> > problem either: failures will be noisy.
> Implementing something that covers every corner case requires a
> complete sed parser.  That's not viable of course, so that's
> obviously not what you mean.

Right.  I have no idea what we'll need in the end, but as I said:
failures will be noisy, so there is no problem in crossing that
bridge once we come to it.

> How about:
>       sed -e 's/  *# .*//'

Fine with me.


reply via email to

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