+function version_check(){
+ NEW_VERSION=$(curl -s https://codeberg.org/armaan/charsel/raw/branch/master/charsel \
+ | grep VERSION= | tail -c +9)
+ if [[ $VERSION != $NEW_VERSION ]]
+ then
+ echo "an update is available"
+ else
+ echo "you are up to date"
+ fi
+
+}
+