ajout de evali()
This commit is contained in:
parent
af3bb37f3d
commit
a5fcf7858f
|
@ -27,3 +27,8 @@ function isrnum() {
|
||||||
v="${v//[0-9]/}"
|
v="${v//[0-9]/}"
|
||||||
[ -z "$v" ]
|
[ -z "$v" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function evali() {
|
||||||
|
# Evaluer une expression numérique
|
||||||
|
echo "$(($*))"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue