| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
# calc for Cairo-Dock |
| 4 |
# |
| 5 |
# Copyright : (C) see the 'copyright' file. |
| 6 |
# E-mail : see the 'copyright' file. |
| 7 |
# |
| 8 |
# |
| 9 |
# This program is free software; you can redistribute it and/or |
| 10 |
# modify it under the terms of the GNU General Public License |
| 11 |
# as published by the Free Software Foundation; either version 3 |
| 12 |
# of the License, or (at your option) any later version. |
| 13 |
# |
| 14 |
# This program is distributed in the hope that it will be useful, |
| 15 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 |
# GNU General Public License for more details. |
| 18 |
# http://www.gnu.org/licenses/licenses.html#GPL |
| 19 |
|
| 20 |
echo "scale=6; $1" | bc |
| 21 |
exit 0 |