We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d3118 commit 18b3298Copy full SHA for 18b3298
rac-on_all_db.sh
@@ -10,12 +10,14 @@
10
# More information here : https://unknowndba.blogspot.com.au/2018/04/rac-onalldbsh-easily-execute-query-on.html
11
#
12
# Version of the script is 20180318
13
+# 20210407 -- Fred Denis -- Remove the use of bc as some dont have bc installed and it is easy to bypass
14
+# 20180318 -- Fred Denis -- Initial release
15
16
17
18
# Set the default output to 90% of the screen size
19
-COLS=$(printf %.f $(bc <<< "`tput cols`*.9"))
20
+COLS=$(printf %.f $(($(tput cols)*90/100)))
21
22
23
# If for any reason we couldn't get the number of cols, we set it to 120
0 commit comments