Actually, that is what it is supposed to be doing. The sed script
came right out of Unix in a Nutshell. I was trying to cut down the
number of lines needing to be read at startup from > 3000 down to
~1800 (plus make it easier to read). So if you if you have the
following in stripl.sed
/^$/{
N
/^\n$/D
}
and run it as
cat dx.mdf |sed -f stripl.sed
Then it doesn't remove the blank lines? Is this what stripl.sed looks
like after you run make dx.mdf (remove the rm line in local.mk to
see)? Does it remove any lines? Would there be a better way with cat
instead of echo to build stripl.sed?
David
Right, and there's a $$ just above that needs to be quoted as well. The
attached patch seems to work. There are still lots of blank lines at the
top of the resulting dx.mdf, but I assume that's not what the sed's are
addressing (I don't speak fluent sed).
With that, CVS from yesterday night builds here.
Randy
--
.............................................................................
David L. Thompson The University of Montana
mailto:[EMAIL PROTECTED] Computer Science Department
http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812
Work Phone : (406)257-8530