Evaluated proc rlist {sub {n 5}} { set json [json2dict [regsub -all "\n" [rsub $sub] {}]]; set out ""; for {set i 0} {$i < $n} {incr i} { append out "[^C]04[rval name $json 3 3 $i 3]\n\x02[^_][regsub -all "\n" [rval title $json 3 3 $i 3] ""]\n[regsub { } [rval url $json 3 3 $i 3] {:}]\n[ctext [regsub {http } [rval selftext $json 3 3 $i 3] {http:}]]\n[^B]by [^_][rval author $json 3 3 $i 3]\n \n" }; trim $out}