☰
Debian Codegraph
@
2026.20260711-2
2026.20260527-3
/
/
texmf-dist
/
doc
/
texlive
/
texlive-en
/
archive
/
split.pl
☽
☼
texmf-dist/doc/texlive/texlive-en/archive/split.pl
code
plain
raw
1
#@TeXIndex{a0poster,
2
open TMP, ">/dev/null";
3
while (<>) {
4
chop;
5
if (/\@TeXIndex/) {
6
print TMP "\n";
7
close TMP;
8
$keep=$_;
9
s/\@TeXIndex{(.*),.*/$1/;
10
print "[$_]\n";
11
open TMP, ">$_.bib";
12
print TMP "$keep\n";
13
}
14
else { print TMP "$_\n" ; }
15
16
}