Hello all,
I've just been trying to use the get_rproj script, and have encountered
a bug that seems really obvious. The lines
mv $srcreg /tmp/${padcnt}.regs
cp /tmp/b.regsb /tmp/${padcnt}.regsb
don't work for me because the line
padcnt=`printf "%03s" $count`
introduces spaces into the variable, as can be seen by echoing the line
mv $srcreg /tmp/${padcnt}.regs
which gives,
mv /tmp/srcag /tmp/ 7.regs
This is easily solved by ammending the padcnt line to
padcnt=`printf "%03s" $count | tr -d ' '`
which removes the offending spaces. Did anyone else encounter this problem?
Cheers,
Ben Maughan
This archive was generated by hypermail 2b29 : Wed May 15 2013 - 01:00:03 EDT