]> andersk Git - config-package-dev.git/blame - decode
Set LC_ALL=C when matching potentially localized dpkg output
[config-package-dev.git] / decode
CommitLineData
6df6dbb5 1#!/usr/bin/perl
7a1d9a7c
AK
2
3use strict;
4use warnings;
5
6df6dbb5
TA
6$ARGV[0] =~ s/\+([^+]*)\+/unparse($1)/eg;
7print $ARGV[0];
8sub unparse {
9 $_ = $_[0];
10 return "/" unless $_;
11 return "_" if $_ eq "-";
12 return uc($_) if /^[a-z]$/;
13 s/^x//;
14 return chr hex $_;
15}
This page took 0.464543 seconds and 5 git commands to generate.