Skip to content
 

More shell fun

This signature was eventually replaced by this:

Copy and distribution of the code published in this post, with or without
modification, are permitted in any medium without royalty provided the copyright
notice (see bottom of page) and this notice are preserved.

sh -c 'a123=$4;b=$2;j=4464346045754551;h=$1;r=4165722075063752;s=$3;
while [ "$r" != "" ];do x=0;y=;w=${#h};while [ $x -lt $(($w-1)) ];do
y=$y?;x=$((x+1));done;o=$o$s${h%$y}${j%$y}${r%$y};r=${r#?};j=${j#?};
h=${h#?};done;eval "$a123 $b$o$b"' sh 1111111111101110 \' '\' printf

which serves the same purpose, but in a pure POSIX way (AFAICT). Note that there are some cosmetic additions to achieve alignment.