Pallavi-Banerjee21 / votca

Automatically exported from code.google.com/p/votca
0 stars 0 forks source link

csg_inverse: add internal replacement for mktemp #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-on AIX there is no mktemp
-add a function like
mktemp() {
    local l t2
    l=${1//[^X]}
    l=${#l}
    t2=${t1}
    for ((i=0;i<$l;i++)); do
      t2=${t2/X/${RANDOM:0:1}}
    done
    echo "$t2"
}

Original issue reported on code.google.com by christop...@gmail.com on 1 Feb 2011 at 4:37

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e175946632a4.

Original comment by junghans%votca.org@gtempaccount.com on 15 Apr 2011 at 10:33