MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //usr/local/ssl/local/ssl/bin/fixwwps
#!/usr/bin/perl
eval 'exec perl -S $0 "$@"'
	if $running_under_some_shell;

# 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 $_;
   }
}