[PATCH 1/2] programs/cmd: Add test for substring handling in 'magic' variable expansion.