[Commits] [svn:einsteintoolkit] www/info/citing/ (Rev. 410)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Mon Nov 15 16:59:28 CST 2010


User: knarf
Date: 2010/11/15 04:59 PM

Modified:
 /info/citing/
  parse_citations.pl

Log:
 use /tmp

File Changes:

Directory: /info/citing/
========================

File [modified]: parse_citations.pl
Delta lines: +4 -2
===================================================================
--- info/citing/parse_citations.pl	2010-11-15 22:59:20 UTC (rev 409)
+++ info/citing/parse_citations.pl	2010-11-15 22:59:28 UTC (rev 410)
@@ -2,13 +2,15 @@
 use strict;
 use Data::Dumper;
 
+my $tmpfile = "/tmp/ET-citations.bib";
+
 # create bib file
 my $command = "../../../tools/trunk/bibtex/parse_bibtex.pl --input ../../manifest/einsteintoolkit.bib --filter=required-for";
-`$command > citations.bib`;
+`$command > $tmpfile`;
 # get bibtex key list
 my $keys = `$command --showkey=required-for`;
 # generate preliminary html
-my $html = join("", `bib2xhtml -u -s unsortlist citations.bib`);
+my $html = join("", `bib2xhtml -u -s unsortlist $tmpfile`);
 # strip html frame from list
 $html=~s/.*(<!-- BEGIN BIB)/$1/s;
 $html=~s/(<!-- END BIB.*-->).*/$1/s;



More information about the Commits mailing list