mirror of
https://github.com/dockersrc/scripts
synced 2024-12-04 11:23:18 -05:00
13 lines
251 B
Plaintext
13 lines
251 B
Plaintext
|
#!/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";
|
||
|
}
|