Search Results

Search: Posts Made By: purva
15,008
Posted By purva
thanks
Thanx alot .
That is working.
But sorry I want to ask more
how can we implement end of file command in shell
means I have to insert nos. from user till he presses "ctrl c" and after that...
15,008
Posted By purva
float input
My problem is to input float value.
I have done it in this way
#!bin/bash
sum=0.0
read a
sum=`expr $a + $sum | bc`
echo sum
but when i entered float no. then it is giving expr...non numeric...
2,474
Posted By purva
on float input
thank you for that
but what problem I am having is
read a
sum=0.0
sum=`expr $a + $sum`
then it is not working means it is not accepting the float data
plz help me out.
thanx
15,008
Posted By purva
float input
how to input float data type in bash shell programming in linux?
I am new to it so unaware to use the commands plz help me out.
thank you.
2,474
Posted By purva
input a float data and add them in shell in linux
I want to input a float data and add them in shell in linux. I am new user of it can anyone tell me how I can do it?
thanx
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy