Server IP : 52.91.253.208 / Your IP : 3.14.144.108 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /bin/X11/ |
Upload File : |
#!/usr/bin/perl -w # This file was preprocessed, do not edit! use strict; use Getopt::Long; use vars qw($escape $unescape); sub usage { print STDERR <<EOF; Usage: debconf-unescape -e|-u < input-text -e, --escape escape text -u, --unescape unescape text Exactly one of -e or -u must be used. EOF exit(1); } $escape=0; $unescape=0; GetOptions( "escape|e" => \$escape, "unescape|u" => \$unescape, ) || usage(); if ($escape == $unescape) { usage(); } if ($escape) { while (<>) { s/\\/\\\\/g; s/\n/\\n/g; print; } } else { while (<>) { for (split /(\\.)/) { s/\\(.)/$1 eq "n" ? "\n" : $1/eg; print; } } }