Commits

Anonymous committed 298850a

Fix the perl one-liner -n instead of -p.

Comments (0)

Files changed (1)

 	./bin/extract-screenplay-xml-html.pl -o $@ $<
 
 $(SCREENPLAY_XML_FOR_OOO_XHTML_DIR)/%.xhtml: $(SCREENPLAY_XML_HTML_DIR)/%.html
-	cat $< | perl -lpe 'print unless m{\A<\?xml}' > $@
+	cat $< | perl -lne 'print unless m{\A<\?xml}' > $@
 
 $(SCREENPLAY_XML_XML_DIR)/%.xml: $(SCREENPLAY_XML_TXT_DIR)/%.txt
 	perl -MXML::Grammar::Screenplay::App::FromProto -e 'run()' -- \