mirror of
https://github.com/dockersrc/scripts
synced 2024-11-21 17:23:06 -05:00
13 lines
251 B
Perl
13 lines
251 B
Perl
#!/usr/bin/env perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
print "Content-type: text/plain; charset=iso-8859-1\n\n";
|
|
foreach my $var (sort(keys(%ENV))) {
|
|
my $val = $ENV{$var};
|
|
$val =~ s|\n|\\n|g;
|
|
$val =~ s|"|\\"|g;
|
|
print "${var}=\"${val}\"\n";
|
|
}
|