Hello,
You can find the text here: https://raw.githubusercontent.com/willemdh/FireMotD/master/FireMotD
Problem seems to start at line 211, maybe related to the '<<<'?
MemFreeB="$(cat /proc/meminfo | grep MemFree | awk {'print $2'})"
MemTotalB="$(cat /proc/meminfo | grep MemTotal | awk {'print $2'})"
MemUsedB="$(expr $MemTotalB - $MemFreeB)"
MemFree="$(printf "%0.2f\n" $(bc -q <<< scale=2\;$MemFreeB/1024/1024))"
WriteLog Verbose Info "MemFree: $MemFree"
MemUsed="$(printf "%0.2f\n" $(bc -q <<< scale=2\;$MemUsedB/1024/1024))"
WriteLog Verbose Info "MemUsed: $MemUsed"
MemTotal="$(printf "%0.2f\n" $(bc -q <<< scale=2\;$MemTotalB/1024/1024))"
WriteLog Verbose Info "MemTotal: $MemTotal"
Grtz and tx
Willem
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Friday, September 2, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment