Mark A Bolstad:
|David Thompson wrote:
|> @echo "/^\\n$$D/" >> stripl.sed
|>
|> and report back to me?
|
|The change is (note the single quotes):
|
|@echo '/^\\n$$/D' >> stripl.sed
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
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711
--- src/exec/dxmods/local.mk.in Fri Apr 20 12:00:29 2001
+++ src/exec/dxmods/ORIG/local.mk.in Wed Apr 11 12:34:23 2001
@@ -23,10 +23,10 @@
-rm -f dx.mdf
cp ${srcdir}/dxmdf.src tmp.c
$(CPP) $(MYINC) $(MDF) $(DEFS) -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp.c >
dx.mdf
- @echo '/^$$/{' > stripl.sed
- @echo 'N' >> stripl.sed
- @echo '/^\\n$$/D' >> stripl.sed
- @echo '}' >> stripl.sed
+ @echo "/^$$/{" > stripl.sed
+ @echo "N" >> stripl.sed
+ @echo "/^\n$$/D" >> stripl.sed
+ @echo "}" >> stripl.sed
cat dx.mdf |sed "/^#/d" > tmp.mdf
cat tmp.mdf |sed -f stripl.sed > dx.mdf
@rm -f stripl.sed