diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-14 18:22:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-14 18:22:31 +0000 |
commit | eb923a48899f9fa14e82ebe4e31643ff6528ace8 (patch) | |
tree | d2b263c83ac970d19f9ad4d4d39dae3dfa04631a /Master/bin/powerpc-linux/fixwwps | |
parent | 84d6472b297de0da2cce2c622bde876e7fe67aba (diff) |
new arch from tschmitz
git-svn-id: svn://tug.org/texlive/trunk@3469 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/powerpc-linux/fixwwps')
-rwxr-xr-x | Master/bin/powerpc-linux/fixwwps | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/bin/powerpc-linux/fixwwps b/Master/bin/powerpc-linux/fixwwps new file mode 100755 index 00000000000..bfd58c086da --- /dev/null +++ b/Master/bin/powerpc-linux/fixwwps @@ -0,0 +1,20 @@ +#!/usr/bin/env perl +# fixwwps: get semi-conforming PostScript out of Windows Write file +# +# Copyright (C) Angus J. C. Duggan 1991-1995 +# See file LICENSE for details. + +$page = 1; + +while (<>) { + if (/^(%!.*) EPSF-\d.\d/) { + print $1, "\n"; + } elsif (/^SS/) { + print "%%Page: $page $page\n"; + print $_; + $page++; + } else { + print $_; + } +} + |