<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 07/15/2014 10:15 AM, Giovanni Cantele wrote:<br>
<blockquote
cite="mid:90635F38-B297-43C4-BD01-E96BCF72AED7@spin.cnr.it"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
the shell script is not able to make mathematical operations, so
if you write
<div>ecutrho=$ecut*8</div>
</blockquote>
<br>
<br>
Actually, the bash shell can do some integer arithmetic. This would
work:<br>
ecutrho = $[$ecut*8]<br>
<br>
hth<br>
<br>
<pre class="moz-signature" cols="72">--
Dr. Lorenzo Paulatto
IdR @ IMPMC -- CNRS & Université Paris 6
+33 (0)1 44 275 084 / skype: paulatz
<a class="moz-txt-link-freetext" href="http://www.impmc.upmc.fr/~paulatto/">http://www.impmc.upmc.fr/~paulatto/</a>
23-24/4é16 Boîte courrier 115, 4 place Jussieu 75252 Paris Cédex 05</pre>
</body>
</html>