#!/bin/sh
#
# Check various corner cases of upkg_decode_index.
-# Copyright © 2012 Nick Bowler
+# Copyright © 2012, 2022 Nick Bowler
#
# License WTFPL2: Do What The Fuck You Want To Public License, version 2.
# This is free software: you are free to do what the fuck you want to.
{ $decodeindex "$1" 3>&-
echo decode_status=$? >&3
} | { read val 3>&-
- echo decode_val=$val >&3
+ echo decode_val=\'$val\' >&3;
}`
eval "$decode_cmd"