nd (I am
not sure how to write the bc command).
echo $mean *1000 |bc
I get:
(standard_in) 1 : illegal character: ^M
I already use the dos2unix command on my .sh file.
I think it's because my variable have the ^M character (not printed with the
echo command)
How can i eliminate this e
On Tue, 29 Nov 2011, frenco wrote:
I have a variable that is a float value.
When I print it with the echo command i get:
0.495959
...
I think it's because my variable have the ^M character (not printed
with the echo command)
You might try
echo "[$the_variable_name]"
The quoting is signifi
he bc command).
echo $mean *1000 |bc
I get:
(standard_in) 1 : illegal character: ^M
I already use the dos2unix command on my .sh file.
I think it's because my variable have the ^M character (not printed with the
echo command)
How can i eliminate this error?
I already try a lot of things but I
3 matches
Mail list logo