| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/bin/ |
Upload File : |
#!/usr/bin/perl
eval 'exec perl -S $0 "$@"'
if $running_under_some_shell;
# fixwpps: get semi-conforming PostScript out of WordPerfect 5.0 file
#
# Copyright (C) Angus J. C. Duggan 1991-1995
# See file LICENSE for details.
$page = 1;
$nesting = 0;
while (<>) {
s/([^\/]_t)([0-9]+)/\1 \2/g; # fix wp 5.0 bug
if (m!/_[be][dp]! || m!_bp \d+ \d+ roll!) {
print $_;
} elsif (/^(.*)(_bp.*)$/) {
print "$1\n" if $1 ne "";
print "%%Page: $page $page\n";
print "$2\n";
$page++;
$nesting++;
} elsif (/_ep$/) {
print $_;
$nesting--;
} elsif (/^(.*)(_ed.*)/) {
print "$1\n" if $1 ne "";
print "%%Trailer:\n";
print "$2\n";
} else {
print $_;
}
}