aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xminimun15
1 files changed, 4 insertions, 11 deletions
diff --git a/minimun b/minimun
index 92abe33..923426c 100755
--- a/minimun
+++ b/minimun
@@ -6,20 +6,13 @@ use IPC::Run qw(run);
my ($in, $out);
-$in .= "\\relax\n";
-
-open(FORMAT, '<', 'format.tex');
-while (my $line = <FORMAT>){
- $in .= $line;
-}
-close(FORMAT);
-
-$in .= "bruh\n";
+$in .= "\\award\n";
$in .= "\\bye\n";
-run ['/usr/bin/pdftex'], '<', \$in, '>', \$out;
+run ['/usr/bin/pdftex', 'format.tex'], '<', \$in, '>', \$out;
print "Content-type: application/pdf\n\n";
-open(DOC, '<', 'texput.pdf');
+open(DOC, '<', 'format.pdf');
while (<DOC>){
print;
}
+close(DOC);