Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NTP=0.000304
- echo --------------------------------
- if [ `echo "$NTP < 0.100001" | bc` -eq 1 ] ; then
- echo "NTP < 0.100001"
- fi
- echo --------------------------------
- if [ `echo "$NTP > 0.000001" | bc` -eq 1 ] ; then
- echo "NTP > 0.000001"
- fi
- echo --------------------------------
- bash -version
- echo --------------------------------
- $bash -f main.sh
- --------------------------------
- NTP < 0.100001
- --------------------------------
- NTP > 0.000001
- --------------------------------
- GNU bash, version 4.4.12(1)-release (x86_64-redhat-linux-gnu)
- Copyright (C) 2016 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software; you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- --------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement