Markku Sukanen wrote: >to, 2005-06-30 kello 12:52 +0200, Gingat Florent kirjoitti: > > >>Well heuu me again :p >> >> Elmar can you explain me a little this = >> >>count=*`**echo* $2 "2048 * p q" *|* *dc* -*` >> >> I mean i've understand the echo $2 (2 come from the second input) but "2048 >> * p q" >> >> I d'ont understand it's a multiplication but what * what :p ? >>* >> >> > >You're better off if you take the much simpler "integer math environ" >approach of bash, eg.: > > count=$(($2 * 2048)) > >All the stuff within $(( ... )) is treated as quite typical integer math >(no floating point math with bash itself). >--- >Dai > > > > > Thank you :p i have already discovered that there is no floating point with bash so ... it"s the only reason for me that there wasn't any user choice for the hdf size only preconfigured commands :p