Index: head/Mk/Scripts/pkgencode.awk =================================================================== --- head/Mk/Scripts/pkgencode.awk (revision 391073) +++ head/Mk/Scripts/pkgencode.awk (nonexistent) @@ -1,23 +0,0 @@ -# $FreeBSD$ - -BEGIN { - for (i = 0; i <= 255; i++) - ord[sprintf("%c", i)] = i - for (i = 0; i < 128; i++) { - if (i != 37) - ascii = sprintf("%s%c", ascii, i) - } -} -function encode(str, c, len, res) { - len = length(str) - res = "" - for (i = 1; i <= len; i++) { - c = substr(str, i, 1); - if (index(ascii, c) != 0) - res = res c - else - res = res "%" sprintf("%02X", ord[c]) - } - return res -} -{ print encode($0); } Property changes on: head/Mk/Scripts/pkgencode.awk ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property