>>>>> "James" == James Hammons <[EMAIL PROTECTED]> writes:
James> Is there a script somewhere that will build all of the
James> examples in /lily/input using ly2dvi & dvips? If not, then
James> there ought to be! It's a real pain to have to type 'ly2dvi
James> foo.ly' followed by 'dvips foo.dvi' for every single .ly file
James> in there!
James> I would write one myself and post it here, only I don't know
James> the slightest thing about bash... I'm sure there's someone
James> out there who could write one in a couple of minutes.
James> Ideally it should continue generating .ps files even if
James> ly2dvi fails (as it does on *some* of the files)...
Try this :
#!/bin/sh
for f in `find . -name "*.ly"`; do
ly2dvi $f
done
You can use ly2dvi -P if you want the postscript files.
--
Laurent Martelli
[EMAIL PROTECTED]