summaryrefslogtreecommitdiff
path: root/Master/bin/mips-irix/fixtpps
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-01-10 13:10:28 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-01-10 13:10:28 +0000
commit9bdd9f27ea5243115a8b2f0aa891bfdf6dfdddf1 (patch)
treed854e398fa7c3bb51d3d429ef36a0b75a7dffeb7 /Master/bin/mips-irix/fixtpps
parentdbd8f0679bc5e9ceaab187cc83700f4b383f81fe (diff)
change into linked scripts
git-svn-id: svn://tug.org/texlive/trunk@21010 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/mips-irix/fixtpps')
l---------[-rwxr-xr-x]Master/bin/mips-irix/fixtpps29
1 files changed, 1 insertions, 28 deletions
diff --git a/Master/bin/mips-irix/fixtpps b/Master/bin/mips-irix/fixtpps
index 4239bb9dfc5..10cd40fcc78 100755..120000
--- a/Master/bin/mips-irix/fixtpps
+++ b/Master/bin/mips-irix/fixtpps
@@ -1,28 +1 @@
-#!/usr/bin/env perl
-# fixtpps: fix tpscript document to work with PSUtils
-#
-# Copyright (C) Angus J. C. Duggan 1991-1995
-# See file LICENSE for details.
-
-$nesting = 0;
-$header = 1;
-
-while (<>) {
- if (/^%%Page:/ && $nesting == 0) {
- print $_;
- print "save home\n";
- $header = 0;
- } elsif (/^%%BeginDocument/ || /^%%BeginBinary/ || /^%%BeginFile/) {
- print $_;
- $nesting++;
- } elsif (/^%%EndDocument/ || /^%%EndBinary/ || /^%%EndFile/) {
- print $_;
- $nesting--;
- } elsif (/save home/) {
- s/save home//;
- print $_;
- } elsif (!$header || (! /^save$/ && ! /^home$/)) {
- print $_;
- }
-}
-
+../../texmf/scripts/psutils/fixtpps.pl \ No newline at end of file