On 8/14/09 6:14 PM, "Reinhold Kainhofer" <[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Samstag, 15. August 2009 01:54:17 schrieb Carl Sorensen:
>> A related problem is that when I run convert-ly as
>> 
>> find input/regression *.ly | xargs convert-ly -e --from "2.13.3"
>> 
>> it does a convert-ly on all the files in input/regression/out/* and
>> input/regression/out-www/*.  I don't want to mess with those files; they're
>> created by the build system.
> 
> Hmm, the find call above is wrong, I suppose it should be
>     find input/regression/ -name '*.ly'

Yes, that's right.  I typed it from memory, rather than pasting it from my
terminal.

> Anyway, you don't mind about any subdir, right? In that case, I would simply
> use
>      ls input/regression/*.ly | xargs ...
> instead.

Well, I think that at least we need to be able to handle the xml regtests as
well, so we *do* need some subdirectories, I think.
> 
>> I've been trying to figure out how to get find to ignore any subdirectories
>> called out/ or out-*/, but haven't been able to figure it out yet.  Any
>> help would be appreciated.
> 
> I don't think there is a way to do it directly. You might filter the results
> through grep, though:
> 
> find input/regression *.ly | grep -v out- |grep -v /out/ |xargs convert-ly -e
> \
> - --from "2.13.3"
> 


Thanks,

Carl



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to