Commit 9871e651 authored by Dylan's avatar Dylan

Easy way to find start of string

parent 382a018f
...@@ -590,11 +590,11 @@ getuptime () { ...@@ -590,11 +590,11 @@ getuptime () {
hours=$((uptime / 3600%24)) hours=$((uptime / 3600%24))
days=$((uptime / 86400)) days=$((uptime / 86400))
days="$days days," days=" $days days,"
hours="$hours hours," hours=" $hours hours,"
mins="$mins minutes" mins=" $mins minutes"
uptime="up ${days/0 days,} ${hours/0 hours,} ${mins/0 minutes}" uptime="up${days/ 0 days,}${hours/ 0 hours,}${mins/ 0 minutes}"
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment