On Thu, Oct 22, 2009 at 07:34:18AM -0600, Carl Sorensen wrote: > # fix links from other manuals to general > find ./out-www -name "*.html" | xargs sed -i 's/\.\.\/general\//\.\.\//' > sed: 1: "./out-www/All.html": invalid command code .
Mao. IIRC you're on OSX? Evidently this is a difference between GNU sed and BSD sed. Out of interest, from Documentation, does sed -i 's/\.\.\/general\//\.\.\//' out-www/All.html work? I'm not certain if that would change anything if it does, since the ./out-www comes from expanding $(outdir) in the makefile. The *proper* solution, even disregarding this problem, is to modify the targets of those links by rewriting texi2html's href writer. But I don't feel like wading into that perl at the moment, so I just slapped the sed in there. Hmm. Any constructive thoughts, especially enthusiastic offers to hack at the perl, would be appreciated. Cheers, - Graham _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel