found bug with stris_posix regex, fixed fdivide_posix
This commit is contained in:
parent
5ed6294f67
commit
bb9777ef27
@ -86,7 +86,7 @@ printbar() {
|
|||||||
fdivide_posix() {
|
fdivide_posix() {
|
||||||
[ -n "$2" ] && [ -n "$1" ] && [ -z "$3" ] \
|
[ -n "$2" ] && [ -n "$1" ] && [ -z "$3" ] \
|
||||||
|| return 1
|
|| return 1
|
||||||
printf "%b" "$(($2/$1))"
|
printf "%b\n" "$(($1/$2))"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||