mirror of
https://github.com/jhechavarria/say.sh.git
synced 2025-12-10 06:06:59 +00:00
debogage des fonctions sayvol et sayspd
This commit is contained in:
4
say.sh
4
say.sh
@@ -74,7 +74,7 @@ saylng ()
|
||||
sayvol()
|
||||
{
|
||||
cfg=`cat $CFGPATH`;
|
||||
if [$# -ge 1 ]; then
|
||||
if [ $# -ge 1 ]; then
|
||||
if [ $# -ge 2 ]; then
|
||||
num=`echo "0 + $2" | bc`;
|
||||
if [ `echo "$num >= 0 && $num <= 2" | bc` -eq 1 ]; then
|
||||
@@ -93,7 +93,7 @@ sayvol()
|
||||
sayspd()
|
||||
{
|
||||
cfg=`cat $CFGPATH`;
|
||||
if [$# -ge 1 ]; then
|
||||
if [ $# -ge 1 ]; then
|
||||
if [ $# -ge 3 ]; then
|
||||
num=`echo "0 + $3" | bc`;
|
||||
if [ `echo "$num >= 0.5 && $num <= 1.5" | bc` -eq 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user