[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [frogs] Patch for Issue #830
From: |
Graham Percival |
Subject: |
Re: [frogs] Patch for Issue #830 |
Date: |
Mon, 21 Dec 2009 22:24:16 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Dec 21, 2009 at 02:10:15PM -0800, Mark Polesky wrote:
> Marc Hohl wrote:
> > I found something useful here:
> > http://code.google.com/p/pymc/issues/detail?id=230
> >
> > The program is simple but seems to work:
>
> Why not use a sed one-liner?
Because not all OSes have sed. And even those that *do* have sed,
have horrible inconsistent command-line options.
Over the past 10 years, lilypond has been gradually using python
more and more, and phasing out other stuff. I think that's a
great thing, since python is easy to install, it's amazingly
flexible and powerful.
As for this specific case, it's true that sed is faster. Running
strip-whitespace.py on all the docs might take something like 3
seconds, whereas sed would probably finish in less than 0.3
seconds. But that's totally negligible, especially when
considered against making things harder for contributors on
windows.
Cheers,
- Graham
- Re: [frogs] Patch for Issue #830, Carl Sorensen, 2009/12/20
- Re: [frogs] Patch for Issue #830, Neil Puttock, 2009/12/20
- Re: [frogs] Patch for Issue #830, Marc Hohl, 2009/12/20
- Re: [frogs] Patch for Issue #830, Mark Polesky, 2009/12/20
- Re: [frogs] Patch for Issue #830, Marc Hohl, 2009/12/20
- Message not available
- Re: [frogs] Patch for Issue #830, Graham Percival, 2009/12/20
- Re: [frogs] Patch for Issue #830, Marc Hohl, 2009/12/20
- Re: [frogs] Patch for Issue #830, Graham Percival, 2009/12/21
- Re: [frogs] Patch for Issue #830, Mark Polesky, 2009/12/21
- Re: [frogs] Patch for Issue #830,
Graham Percival <=
- Re: [frogs] Patch for Issue #830, Trevor Daniels, 2009/12/20
- Re: [frogs] Patch for Issue #830, Graham Percival, 2009/12/20
- Re: [frogs] Patch for Issue #830, Trevor Daniels, 2009/12/20
- Re: [frogs] Patch for Issue #830, Mark Polesky, 2009/12/20
- Re: [frogs] Patch for Issue #830, Trevor Daniels, 2009/12/21
- Re: [frogs] Patch for Issue #830, Graham Percival, 2009/12/21
- Re: [frogs] Patch for Issue #830, Trevor Daniels, 2009/12/21
- Re: [frogs] Patch for Issue #830, Graham Percival, 2009/12/21
- Re: [frogs] Patch for Issue #830, Trevor Daniels, 2009/12/21
- Re: [frogs] Patch for Issue #830, Carl Sorensen, 2009/12/21