
# change the following line to indicate where your cdf is
set cdf /home/downey/bin/cdf

proc shell {args} {
    exec /bin/sh -c $args
}

foreach name {uniform normal lognormal exponential pareto} {
    puts $name
    shell $cdf rand.$name > rand.$name.cdf
    shell $cdf -t logx rand.$name > rand.$name.cdf.logx
    shell $cdf -t logy rand.$name > rand.$name.cdf.logy
    shell $cdf -t loglog rand.$name > rand.$name.cdf.loglog
}
